Package step.core.access.authentication
Class AccessTokenValidator
- java.lang.Object
-
- step.core.access.authentication.AccessTokenValidator
-
public class AccessTokenValidator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
USER_INFO_KEY
-
Constructor Summary
Constructors Constructor Description AccessTokenValidator(JWTSettings localJwtSettings, AccessTokenManager accessTokenManager, ApiTokenAccessor apiTokenAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description step.core.authentication.AuthenticationTokenDetails
parseAndValidateAccessToken(java.lang.String accessToken, step.framework.server.access.TokenType tokenType, boolean extractUserInfo)
step.core.authentication.AuthenticationTokenDetails
parseAndValidateTokens(step.core.authentication.TokenEndpointsResponse tokenInfo, step.framework.server.access.TokenType tokenType, boolean extractUserInfo)
void
setExtJwtSettings(JWTSettings extJwtSettings)
-
-
-
Field Detail
-
USER_INFO_KEY
public static final java.lang.String USER_INFO_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AccessTokenValidator
public AccessTokenValidator(JWTSettings localJwtSettings, AccessTokenManager accessTokenManager, ApiTokenAccessor apiTokenAccessor)
-
-
Method Detail
-
setExtJwtSettings
public void setExtJwtSettings(JWTSettings extJwtSettings)
-
parseAndValidateAccessToken
public step.core.authentication.AuthenticationTokenDetails parseAndValidateAccessToken(java.lang.String accessToken, step.framework.server.access.TokenType tokenType, boolean extractUserInfo) throws step.core.deployment.AuthorizationException
- Throws:
step.core.deployment.AuthorizationException
-
parseAndValidateTokens
public step.core.authentication.AuthenticationTokenDetails parseAndValidateTokens(step.core.authentication.TokenEndpointsResponse tokenInfo, step.framework.server.access.TokenType tokenType, boolean extractUserInfo) throws step.core.deployment.AuthorizationException
- Throws:
step.core.deployment.AuthorizationException
-
-