Package step.core.access.authentication
Class AuthorizationServerConnectorImpl
- java.lang.Object
-
- step.core.access.authentication.AuthorizationServerConnectorImpl
-
- All Implemented Interfaces:
AuthorizationServerConnector
public class AuthorizationServerConnectorImpl extends java.lang.Object implements AuthorizationServerConnector
-
-
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)
-
-
-
Method Detail
-
getAccessToken
public step.core.authentication.TokenEndpointsResponse getAccessToken(OidcCredentials oidcCredentials)
- Specified by:
getAccessToken
in interfaceAuthorizationServerConnector
-
refreshToken
public step.core.authentication.TokenEndpointsResponse refreshToken(step.core.authentication.TokenEndpointsResponse tokenMap)
- Specified by:
refreshToken
in interfaceAuthorizationServerConnector
-
getSigningKeyResolver
public io.jsonwebtoken.SigningKeyResolver getSigningKeyResolver()
-
getAuthorizationRedirectUri
public java.lang.String getAuthorizationRedirectUri(java.lang.String redirect, java.lang.String state)
-
-