Interface TokenEndpointClient

All Known Implementing Classes:
DefaultTokenEndpointClient

@DefaultImplementation(DefaultTokenEndpointClient.class) public interface TokenEndpointClient
Responsible for sending requests to a token endpoint.
Since:
1.2.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    <G, R extends TokenResponse>
    @NonNull org.reactivestreams.Publisher<R>
    sendRequest(TokenRequestContext<G,R> requestContext)
     
  • Method Details

    • sendRequest

      @NonNull <G, R extends TokenResponse> @NonNull org.reactivestreams.Publisher<R> sendRequest(TokenRequestContext<G,R> requestContext)
      Type Parameters:
      G - The token request grant or body
      R - The token response type
      Parameters:
      requestContext - The token request context
      Returns:
      a HTTP Request to the Token Endpoint with Authorization Code Grant payload.