Interface TokenValidator


  • @ConsumerType
    public interface TokenValidator
    An interface to validate the access token. Implementers of this interface should use this to validate the access token.
    Since:
    3.7
    See Also:
    AccessTokenProvider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String VALIDATOR_TYPE_PROPERTY
      Specifies the property name of this validator type
    • Field Detail

      • VALIDATOR_TYPE_PROPERTY

        static final java.lang.String VALIDATOR_TYPE_PROPERTY
        Specifies the property name of this validator type
        See Also:
        Constant Field Values
    • Method Detail

      • isValid

        boolean isValid​(java.lang.String accessToken)
        Validates the access token
        Parameters:
        accessToken -
        Returns:
        true if the token is valid else false