Uses of Class
org.apache.archiva.redback.authentication.TokenType
-
Packages that use TokenType Package Description org.apache.archiva.redback.authentication org.apache.archiva.redback.authentication.jwt -
-
Uses of TokenType in org.apache.archiva.redback.authentication
Methods in org.apache.archiva.redback.authentication that return TokenType Modifier and Type Method Description TokenType
StringToken. getType()
TokenType
Token. getType()
Returns the token type (access or refresh token)static TokenType
TokenType. ofClaim(String claim)
static TokenType
TokenType. valueOf(String name)
Returns the enum constant of this type with the specified name.static TokenType[]
TokenType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.apache.archiva.redback.authentication with parameters of type TokenType Constructor Description StringToken(TokenType type, String id, String tokenData, TokenData metadata)
-
Uses of TokenType in org.apache.archiva.redback.authentication.jwt
Methods in org.apache.archiva.redback.authentication.jwt with parameters of type TokenType Modifier and Type Method Description Token
JwtAuthenticator. generateToken(String userId, TokenType type)
Creates a token for the given user id.String
JwtAuthenticator. verify(String token, TokenType type)
-