public class ClientCredentials extends RefreshableTokenSource
Using the provided client ID, secret, and token URL, this class makes requests using its HttpClient to fetch OAuth tokens. Additional parameters and scopes can be specified as well. To support all OAuth endpoints, authentication parameters can be passed in the request body or in the Authorization header.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientCredentials.Builder |
token| Modifier and Type | Method and Description |
|---|---|
protected Token |
refresh() |
getToken, retrieveTokenprotected Token refresh()
refresh in class RefreshableTokenSourceCopyright © 2024. All rights reserved.