Validates a Spotify OAuth token by issuing a simple request for user information, returning the JSON received.
Credentials aggregate.
Path to a cacert.pem bundle file.
The server JSONValue response.
UnexpectedJSONException
on unexpected JSON.
ErrorJSONException
if the returned JSON has an "error" field.
Validates a Spotify OAuth token by issuing a simple request for user information, returning the JSON received.