DirectTokenEndpointTransport
class DirectTokenEndpointTransport(httpClient: HttpClient, singleUseHttpClient: HttpClient = httpClient) : TokenEndpointTransport
Posts each request straight to the authorization server — the behaviour of a public client.
Parameters
httpClient
Used for the pushed authorization request and revocation.
singleUseHttpClient
Used for the code exchange and the refresh, which spend something single-use. Pass a client that never silently re-sends a request (with OkHttp, retryOnConnectionFailure(false)) and that has a request timeout. Defaults to httpClient.