spotify Implicit Grant Api
Instantiate a new SpotifyImplicitGrantApi using a Spotify clientId, and token retrieved from the implicit grant flow.
Use case: I have a token obtained after implicit grant authorization.
Return
SpotifyImplicitGrantApi that can immediately begin making calls
Parameters
client Id
Spotify client id
token
Token created from the hash response in the implicit grant callback
fun spotifyImplicitGrantApi(clientId: String?, token: Token, block: SpotifyApiOptions.() -> Unit): SpotifyImplicitGrantApi(source)
Instantiate a new SpotifyImplicitGrantApi using a Spotify clientId, and token retrieved from the implicit grant flow.
Use case: I have a token obtained after implicit grant authorization.
Return
SpotifyImplicitGrantApi that can immediately begin making calls
Parameters
client Id
Spotify client id
token
Token created from the hash response in the implicit grant callback
block
Block to set API options