Package step.core.access.authentication
Class AuthorizationServerConnectorImpl
- java.lang.Object
-
- step.core.access.authentication.AuthorizationServerConnectorImpl
-
- All Implemented Interfaces:
AuthorizationServerConnector
public class AuthorizationServerConnectorImpl extends Object implements AuthorizationServerConnector
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.ws.rs.client.Client
client
protected String
clientId
protected String
clientSecret
protected boolean
getUserInfo
protected String
issuer
protected String
scope
-
Constructor Summary
Constructors Constructor Description AuthorizationServerConnectorImpl(String issuer, String clientId, String clientSecret, String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAccessToken(OidcCrendentials oidcCrendentials)
String
getAuthorizationRedirectUri(String redirect)
io.jsonwebtoken.SigningKeyResolver
getSigningKeyResolver()
Map<String,Object>
refreshToken(step.framework.server.Session session)
-
-
-
Method Detail
-
getAccessToken
public Map<String,Object> getAccessToken(OidcCrendentials oidcCrendentials)
- Specified by:
getAccessToken
in interfaceAuthorizationServerConnector
-
refreshToken
public Map<String,Object> refreshToken(step.framework.server.Session session)
- Specified by:
refreshToken
in interfaceAuthorizationServerConnector
-
getSigningKeyResolver
public io.jsonwebtoken.SigningKeyResolver getSigningKeyResolver()
-
-