Class ClientCredentialsGrantType
java.lang.Object
org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
org.keycloak.protocol.oidc.grants.ClientCredentialsGrantType
- All Implemented Interfaces:
org.keycloak.protocol.oidc.grants.OAuth2GrantType,org.keycloak.provider.Provider
OAuth 2.0 Client Credentials Grant
https://datatracker.ietf.org/doc/html/rfc6749#section-4.4
- Author:
- Dmitry Telegin (et al.)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.protocol.oidc.grants.OAuth2GrantType
org.keycloak.protocol.oidc.grants.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 TypeMethodDescriptionorg.keycloak.events.EventTypejakarta.ws.rs.core.Responseprocess(org.keycloak.protocol.oidc.grants.OAuth2GrantType.Context context) 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, preProcess
-
Constructor Details
-
ClientCredentialsGrantType
public ClientCredentialsGrantType()
-
-
Method Details
-
process
public jakarta.ws.rs.core.Response process(org.keycloak.protocol.oidc.grants.OAuth2GrantType.Context context) -
getEventType
public org.keycloak.events.EventType getEventType() -
getTokenParameterNames
-
useRefreshToken
protected boolean useRefreshToken()- Overrides:
useRefreshTokenin classOAuth2GrantTypeBase
-