Class JWTAuthorizationGrantType
java.lang.Object
org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
org.keycloak.protocol.oidc.grants.JWTAuthorizationGrantType
- All Implemented Interfaces:
OAuth2GrantType,Provider
-
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 AuthenticationSessionModelcreateSessionModel(RootAuthenticationSessionModel rootAuthSession, UserModel targetUser, ClientModel client, String scope) Returns the event type associated with this OAuth 2.0 grant type.protected UserModellookupUserByFederatedIdentity(FederatedIdentityModel federatedIdentityModel, ClientAssertionState clientAssertionState) jakarta.ws.rs.core.Responseprocess(OAuth2GrantType.Context context) Processes grant request.protected booleanMethods inherited from class org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
addCustomTokenResponseClaims, afterAuthorizationDetailsProcessed, checkAndBindMtlsHoKToken, checkClient, close, createTokenResponse, createTokenResponse, createTokenResponseBuilder, getRequestedScopes, handleMissingAuthorizationDetails, processAuthorizationDetails, processStoredAuthorizationDetails, 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, isTokenAllowed
-
Constructor Details
-
JWTAuthorizationGrantType
public JWTAuthorizationGrantType()
-
-
Method Details
-
process
Description copied from interface:OAuth2GrantTypeProcesses grant request.- Parameters:
context- grant request context- Returns:
- token response
-
lookupUserByFederatedIdentity
protected UserModel lookupUserByFederatedIdentity(FederatedIdentityModel federatedIdentityModel, ClientAssertionState clientAssertionState) -
createSessionModel
protected AuthenticationSessionModel createSessionModel(RootAuthenticationSessionModel rootAuthSession, UserModel targetUser, ClientModel client, String scope) -
useRefreshToken
protected boolean useRefreshToken()- Overrides:
useRefreshTokenin classOAuth2GrantTypeBase
-
getEventType
Description copied from interface:OAuth2GrantTypeReturns the event type associated with this OAuth 2.0 grant type.- Returns:
- event type
-