get Credentialed Token
suspend fun getCredentialedToken(clientId: String, clientSecret: String, api: GenericSpotifyApi?, json: Json = api?.spotifyApiOptions?.json ?: Json.Default): Token
Content copied to clipboard
Get an application token (can only access public methods) that can be used to instantiate a new SpotifyAppApi
Parameters
clientId
Spotify client id
clientSecret
Spotify client secret
api
The Spotify Api instance, or null if one doesn't exist yet
json
The json instance that will deserialize the response.
Sources
(source)
Link copied to clipboard