Token
constructor(accessToken: String, tokenType: String, expiresIn: Int, refreshToken: String? = null, scopeString: String? = null)(source)
Parameters
access Token
An access token that can be provided in subsequent calls, for example to Spotify Web API services.
token Type
How the access token may be used: always Bearer”.
expires In
The time period (in seconds) for which the access token is valid.
refresh Token
A token that can be sent to the Spotify Accounts service in place of an authorization code, null if the token was created using a method that does not support token refresh