Package org.keycloak.protocol.oidc
Class TokenManager.AccessTokenResponseBuilder
java.lang.Object
org.keycloak.protocol.oidc.TokenManager.AccessTokenResponseBuilder
- Enclosing class:
- TokenManager
-
Constructor Summary
ConstructorDescriptionAccessTokenResponseBuilder
(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) -
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(AccessToken accessToken) build()
generateCodeHash
(String code) generateIDToken
(boolean isIdTokenAsDetachedSignature) generateRefreshToken
(RefreshToken oldRefreshToken, AuthenticatedClientSessionModel clientSession) generateStateHash
(String state) boolean
refreshToken
(RefreshToken refreshToken) responseTokenType
(String responseTokenType)
-
Constructor Details
-
AccessTokenResponseBuilder
public AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
-
-
Method Details
-
getAccessToken
-
getRefreshToken
-
getIdToken
-
accessToken
-
refreshToken
-
responseTokenType
-
generateAccessToken
-
generateRefreshToken
-
generateRefreshToken
public TokenManager.AccessTokenResponseBuilder generateRefreshToken(RefreshToken oldRefreshToken, AuthenticatedClientSessionModel clientSession) -
generateIDToken
-
generateIDToken
public TokenManager.AccessTokenResponseBuilder generateIDToken(boolean isIdTokenAsDetachedSignature) -
generateAccessTokenHash
-
generateCodeHash
-
generateStateHash
-
isOfflineToken
public boolean isOfflineToken() -
build
-