Class CibaGrantType
java.lang.Object
org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
org.keycloak.protocol.oidc.grants.ciba.CibaGrantType
- All Implemented Interfaces:
OAuth2GrantType,Provider
OpenID Connect Client-Initiated Backchannel Authentication Flow
https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#rfc.section.10.1
- Author:
- Pedro Igor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.protocol.oidc.grants.OAuth2GrantType
OAuth2GrantType.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPrefix used to store additional params from the backchannel authentication request intoAuthenticationSessionModelnote to be available later in Authenticators, RequiredActions etc.static final StringPrefix used to store additional params from the original authentication callback response intoAuthenticationSessionModelnote to be available later in Authenticators, RequiredActions etc.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptionstatic jakarta.ws.rs.core.UriBuilderauthenticationUrl(jakarta.ws.rs.core.UriBuilder baseUriBuilder) static jakarta.ws.rs.core.UriBuilderauthorizationUrl(jakarta.ws.rs.core.UriBuilder baseUriBuilder) Returns the event type associated with this OAuth 2.0 grant type.jakarta.ws.rs.core.Responseprocess(OAuth2GrantType.Context context) Processes grant request.Methods inherited from class org.keycloak.protocol.oidc.grants.OAuth2GrantTypeBase
checkAndBindMtlsHoKToken, checkClient, close, createTokenResponse, getRequestedScopes, 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
-
Field Details
-
IS_CONSENT_REQUIRED
- See Also:
-
LOGIN_HINT
- See Also:
-
LOGIN_HINT_TOKEN
- See Also:
-
BINDING_MESSAGE
- See Also:
-
AUTH_REQ_ID
- See Also:
-
CLIENT_NOTIFICATION_TOKEN
- See Also:
-
REQUESTED_EXPIRY
- See Also:
-
USER_CODE
- See Also:
-
REQUEST
- See Also:
-
REQUEST_URI
- See Also:
-
ADDITIONAL_CALLBACK_PARAMS_PREFIX
Prefix used to store additional params from the original authentication callback response intoAuthenticationSessionModelnote to be available later in Authenticators, RequiredActions etc. Prefix is used to prevent collisions with internally used notes. -
ADDITIONAL_BACKCHANNEL_REQ_PARAMS_PREFIX
Prefix used to store additional params from the backchannel authentication request intoAuthenticationSessionModelnote to be available later in Authenticators, RequiredActions etc. Prefix is used to prevent collisions with internally used notes.
-
-
Constructor Details
-
CibaGrantType
public CibaGrantType()
-
-
Method Details
-
authorizationUrl
public static jakarta.ws.rs.core.UriBuilder authorizationUrl(jakarta.ws.rs.core.UriBuilder baseUriBuilder) -
authenticationUrl
public static jakarta.ws.rs.core.UriBuilder authenticationUrl(jakarta.ws.rs.core.UriBuilder baseUriBuilder) -
process
Description copied from interface:OAuth2GrantTypeProcesses grant request.- Parameters:
context- grant request context- Returns:
- token response
-
getEventType
Description copied from interface:OAuth2GrantTypeReturns the event type associated with this OAuth 2.0 grant type.- Returns:
- event type
-