Class AuthorizationServerConnectorImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected jakarta.ws.rs.client.Client client  
      protected java.lang.String clientId  
      protected java.lang.String clientSecret  
      protected boolean getUserInfo  
      protected java.lang.String issuer  
      protected java.lang.String scope  
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthorizationServerConnectorImpl​(java.lang.String issuer, java.lang.String clientId, java.lang.String clientSecret, java.lang.String scope, boolean getUserInfo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      step.core.authentication.TokenEndpointsResponse getAccessToken​(OidcCredentials oidcCredentials)  
      java.lang.String getAuthorizationRedirectUri​(java.lang.String redirect, java.lang.String state)  
      io.jsonwebtoken.SigningKeyResolver getSigningKeyResolver()  
      step.core.authentication.TokenEndpointsResponse refreshToken​(step.core.authentication.TokenEndpointsResponse tokenMap)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • client

        protected jakarta.ws.rs.client.Client client
      • getUserInfo

        protected boolean getUserInfo
      • issuer

        protected java.lang.String issuer
      • clientId

        protected java.lang.String clientId
      • clientSecret

        protected java.lang.String clientSecret
      • scope

        protected java.lang.String scope
    • Constructor Detail

      • AuthorizationServerConnectorImpl

        public AuthorizationServerConnectorImpl​(java.lang.String issuer,
                                                java.lang.String clientId,
                                                java.lang.String clientSecret,
                                                java.lang.String scope,
                                                boolean getUserInfo)
    • Method Detail

      • refreshToken

        public step.core.authentication.TokenEndpointsResponse refreshToken​(step.core.authentication.TokenEndpointsResponse tokenMap)
        Specified by:
        refreshToken in interface AuthorizationServerConnector
      • getSigningKeyResolver

        public io.jsonwebtoken.SigningKeyResolver getSigningKeyResolver()
      • getAuthorizationRedirectUri

        public java.lang.String getAuthorizationRedirectUri​(java.lang.String redirect,
                                                            java.lang.String state)