Interface TokenValidator

All Known Subinterfaces:
ExtendedTokenValidator

@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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Specifies the property name of this validator type
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValid(String accessToken)
    Validates the access token
  • Field Details

    • VALIDATOR_TYPE_PROPERTY

      static final String VALIDATOR_TYPE_PROPERTY
      Specifies the property name of this validator type
      See Also:
  • Method Details

    • isValid

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