Method
isTokenValid
(String token, String pluginId)
Source from the content-addressed store, hash-verified
| 139 | //============================================================ |
| 140 | //do not change function signatures |
| 141 | public boolean isTokenValid(String token, String pluginId) { |
| 142 | String storedToken = tokenStore.get(pluginId); |
| 143 | return storedToken != null && token.equals(storedToken); |
| 144 | } |
| 145 | |
| 146 | |
| 147 | public boolean grantedPermission(String token, String permission) { |
Callers
nothing calls this directly
Tested by
no test coverage detected