Class V1TokenExchangeProvider
java.lang.Object
org.keycloak.protocol.oidc.tokenexchange.AbstractTokenExchangeProvider
org.keycloak.protocol.oidc.tokenexchange.V1TokenExchangeProvider
- All Implemented Interfaces:
 TokenExchangeProvider,Provider
V1 token exchange provider. Supports all token exchange types (standard, federated, subject impersonation)
- Author:
 - Dmitry Telegin
 
- 
Field Summary
Fields inherited from class org.keycloak.protocol.oidc.tokenexchange.AbstractTokenExchangeProvider
client, clientAuthAttributes, clientConnection, context, cors, event, formParams, headers, params, realm, session, tokenManager - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleansupports(TokenExchangeContext context) Check if exchange request is supported by this providerprotected jakarta.ws.rs.core.ResponseMethods inherited from class org.keycloak.protocol.oidc.tokenexchange.AbstractTokenExchangeProvider
close, createSessionModel, exchange, exchangeClientToClient, exchangeClientToOIDCClient, exchangeClientToSAML2Client, exchangeExternalToken, exchangeToIdentityProvider, forbiddenIfClientIsNotTokenHolder, forbiddenIfClientIsNotWithinTokenAudience, getRequestedScope, getRequestedTokenType, getSubjectIssuer, getSupportedOAuthResponseTokenTypes, getTargetAudienceClients, getTargetClient, importUserFromExternalIdentity, isExternalInternalTokenExchangeRequest, setClientToContext, updateUserSessionFromClientAuth, validateAudience 
- 
Constructor Details
- 
V1TokenExchangeProvider
public V1TokenExchangeProvider() 
 - 
 - 
Method Details
- 
supports
Description copied from interface:TokenExchangeProviderCheck if exchange request is supported by this provider- Parameters:
 context- token exchange context- Returns:
 - true if the request is supported
 
 - 
tokenExchange
protected jakarta.ws.rs.core.Response tokenExchange()- Specified by:
 tokenExchangein classAbstractTokenExchangeProvider
 
 -