Package sonia.scm.security
Interface AccessTokenValidator
@ExtensionPoint
public interface AccessTokenValidator
Validates an
AccessToken. The validator is called during authentication
with an AccessToken.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(AccessToken token) Returnstrueif theAccessTokenis valid.
-
Method Details
-
validate
Returnstrueif theAccessTokenis valid. If the token is not valid and the method returnsfalse, the authentication is treated as failed.- Parameters:
token- the access token to verify
-