public class AuthorizationCodeRequest extends AbstractAuthorizationRequest<AuthorizationCodeCredentials>
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthorizationCodeRequest.Builder
Builder class for building an
AuthorizationCodeRequest. |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationCodeCredentials |
execute()
Request new
AuthorizationCodeCredentials. |
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJsonpublic AuthorizationCodeCredentials execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
AuthorizationCodeCredentials.AuthorizationCodeCredentials object containing an access token and refresh token.IOException - In case of networking issues.SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.org.apache.hc.core5.http.ParseExceptionCopyright © 2020. All rights reserved.