Class DefaultAuthorizationCodeTokenResponseClient

java.lang.Object
com.codename1.backend.security.oauth2.client.DefaultAuthorizationCodeTokenResponseClient
All Implemented Interfaces:
OAuth2AccessTokenResponseClient

public final class DefaultAuthorizationCodeTokenResponseClient extends Object implements OAuth2AccessTokenResponseClient

The exchange over the runtime's HTTP client, which parks the request's thread while the provider answers.

The client authenticates the way its registration says: the id and secret in an Authorization: Basic header, as form fields, or -- a public client -- the id alone. The PKCE verifier goes with every exchange.