Class AccessTokenValidator


  • public class AccessTokenValidator
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String USER_INFO_KEY  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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