Class AuthorizationCodeGrantType
java.lang.Object
org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
org.keycloak.protocol.oidc.grants.AuthorizationCodeGrantType
- All Implemented Interfaces:
OAuth2GrantType,Provider
OAuth 2.0 Authorization Code Grant
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1
- Author:
- Dmitry Telegin (et al.)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.protocol.oidc.grants.OAuth2GrantType
OAuth2GrantType.Context -
Field Summary
Fields inherited from class org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
client, clientAuthAttributes, clientConfig, clientConnection, context, cors, event, formParams, headers, realm, request, response, session, tokenManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCustomTokenResponseClaims(org.keycloak.representations.AccessTokenResponse res, ClientSessionContext clientSessionCtx) Extension point for subclasses to add custom claims to the AccessTokenResponse before it is returned.jakarta.ws.rs.core.Responseprocess(OAuth2GrantType.Context context) Methods inherited from class org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
checkAndBindMtlsHoKToken, checkClient, close, createTokenResponse, getRequestedScopes, handleMissingAuthorizationDetails, processAuthorizationDetails, setContext, updateClientSession, updateUserSessionFromClientAuthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.protocol.oidc.grants.OAuth2GrantType
getSupportedMultivaluedRequestParameters
-
Constructor Details
-
AuthorizationCodeGrantType
public AuthorizationCodeGrantType()
-
-
Method Details
-
process
-
addCustomTokenResponseClaims
protected void addCustomTokenResponseClaims(org.keycloak.representations.AccessTokenResponse res, ClientSessionContext clientSessionCtx) Description copied from class:OAuth2GrantTypeBaseExtension point for subclasses to add custom claims to the AccessTokenResponse before it is returned. Default implementation does nothing.- Overrides:
addCustomTokenResponseClaimsin classOAuth2GrantTypeBase
-
getEventType
-