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 Type
    Method
    Description
    boolean
    Returns true if the AccessToken is valid.
  • Method Details

    • validate

      boolean validate(AccessToken token)
      Returns true if the AccessToken is valid. If the token is not valid and the method returns false, the authentication is treated as failed.
      Parameters:
      token - the access token to verify