Uses of Enum Class
eu.righettod.TokenType

  • Uses of TokenType in eu.righettod

    Subclasses with type arguments of type TokenType in eu.righettod
    Modifier and Type
    Class
    Description
    enum 
    Enumeration used by the method SecurityUtils.applyJWTExtraValidation() to define the type of token.
    Methods in eu.righettod that return TokenType
    Modifier and Type
    Method
    Description
    static TokenType
    TokenType.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static TokenType[]
    TokenType.values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Methods in eu.righettod with parameters of type TokenType
    Modifier and Type
    Method
    Description
    static boolean
    SecurityUtils.applyJWTExtraValidation(com.auth0.jwt.interfaces.DecodedJWT token, TokenType expectedTokenType, List<String> revokedTokenJTIList)
    Perform a set of additional validations against a JWT token: Do not use the NONE signature algorithm. Have a EXP claim defined. The token identifier (JTI claim) is NOT part of the list of revoked token. Match the expected type of token: ACCESS or ID or REFRESH.