Class TokenExchangeGrantRequest

java.lang.Object
org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
org.springframework.security.oauth2.client.endpoint.TokenExchangeGrantRequest

public class TokenExchangeGrantRequest extends AbstractOAuth2AuthorizationGrantRequest
A Token Exchange Grant request that holds the subject token and optional actor token.
Since:
6.3
See Also:
  • Constructor Details

    • TokenExchangeGrantRequest

      public TokenExchangeGrantRequest(ClientRegistration clientRegistration, OAuth2Token subjectToken, OAuth2Token actorToken)
      Constructs a TokenExchangeGrantRequest using the provided parameters.
      Parameters:
      clientRegistration - the client registration
      subjectToken - the subject token
      actorToken - the actor token
  • Method Details