OAuth 2.0 authorization and token client. More...
Public Member Functions | |
| OAuthClientConfig | config (self) |
| Return the OAuth client configuration. | |
| str | build_authorization_url (self, *, str state, str code_challenge, Mapping[str, str]|None extra_parameters=None) |
| Build an OAuth authorization URL using PKCE. | |
| OAuthTokens | exchange_authorization_code (self, *, str code, str code_verifier, Mapping[str, str]|None extra_parameters=None) |
| Exchange an authorization code for OAuth tokens. | |
| OAuthTokens | refresh_access_token (self, str refresh_token, *, Mapping[str, str]|None extra_parameters=None) |
| Refresh an OAuth access token. | |
OAuth 2.0 authorization and token client.
| OAuthClientConfig oauth.oauth_client.OAuthClient.config | ( | self | ) |
Return the OAuth client configuration.