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) generateStateHash
(String state) boolean
refreshToken
(RefreshToken refreshToken)
-
Constructor Details
-
AccessTokenResponseBuilder
public AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
-
-
Method Details
-
getAccessToken
-
getRefreshToken
-
getIdToken
-
accessToken
-
refreshToken
-
generateAccessToken
-
generateRefreshToken
-
generateIDToken
-
generateIDToken
public TokenManager.AccessTokenResponseBuilder generateIDToken(boolean isIdTokenAsDetachedSignature) -
generateAccessTokenHash
-
generateCodeHash
-
generateStateHash
-
isOfflineToken
public boolean isOfflineToken() -
build
-