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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <G,R extends TokenResponse>
org.reactivestreams.Publisher<R>sendRequest(TokenRequestContext<G,R> requestContext)
-
-
-
Method Detail
-
sendRequest
@Nonnull <G,R extends TokenResponse> org.reactivestreams.Publisher<R> sendRequest(TokenRequestContext<G,R> requestContext)
- Type Parameters:
G
- The token request grant or bodyR
- The token response type- Parameters:
requestContext
- The token request context- Returns:
- a HTTP Request to the Token Endpoint with Authorization Code Grant payload.
-
-