Package org.keycloak.protocol.oidc
Interface TokenExchangeProvider
- 
- All Superinterfaces:
- Provider
 - All Known Implementing Classes:
- DefaultTokenExchangeProvider
 
 public interface TokenExchangeProvider extends Provider Provides token exchange mechanism for supported tokens- Author:
- Dmitry Telegin
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Responseexchange(TokenExchangeContext context)Exchange thetoken.booleansupports(TokenExchangeContext context)Check if exchange request is supported by this provider
 
- 
- 
- 
Method Detail- 
supportsboolean supports(TokenExchangeContext context) Check if exchange request is supported by this provider- Parameters:
- context- token exchange context
- Returns:
- true if the request is supported
 
 - 
exchangejavax.ws.rs.core.Response exchange(TokenExchangeContext context) Exchange thetoken.- Parameters:
- context-
- Returns:
- response with a new token
 
 
- 
 
-