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, dPoP, event, formParams, headers, realm, request, response, session, tokenManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the event type associated with this OAuth 2.0 grant type.jakarta.ws.rs.core.Response
process
(OAuth2GrantType.Context context) Processes grant request.Methods inherited from class org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
checkAndBindDPoPToken, checkAndBindMtlsHoKToken, checkAndRetrieveDPoPProof, checkClient, close, createTokenResponse, getRequestedScopes, setContext, updateClientSession, updateUserSessionFromClientAuth
-
Constructor Details
-
AuthorizationCodeGrantType
public AuthorizationCodeGrantType()
-
-
Method Details
-
process
Description copied from interface:OAuth2GrantType
Processes grant request.- Parameters:
context
- grant request context- Returns:
- token response
-
getEventType
Description copied from interface:OAuth2GrantType
Returns the event type associated with this OAuth 2.0 grant type.- Returns:
- event type
-