public class ClientCredentials extends Object implements TokenSource
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 |
public Token getToken()
getToken in interface TokenSourceCopyright © 2026. All rights reserved.