IRequestpublic class ClientCredentialsRequest extends AbstractAthorizationRequest
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ClientCredentialsRequest.Builder |
Builder class for building a
ClientCredentialsRequest. |
| Constructor | Description |
|---|---|
ClientCredentialsRequest(ClientCredentialsRequest.Builder builder) |
| Modifier and Type | Method | Description |
|---|---|---|
ClientCredentials |
execute() |
Request an access token.
|
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJsonpublic ClientCredentialsRequest(ClientCredentialsRequest.Builder builder)
public ClientCredentials execute() throws IOException, SpotifyWebApiException
ClientCredentials object containing an access token.IOException - In case of networking issues.SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.Copyright © 2019. All rights reserved.