get Spotify Authorization Url
fun getSpotifyAuthorizationUrl(vararg scopes: SpotifyScope, clientId: String, redirectUri: String, isImplicitGrantFlow: Boolean = false, shouldShowDialog: Boolean = false, state: String? = null): String(source)
Get the authorization url for the provided clientId and redirectUri application settings, when attempting to authorize with specified scopes
Parameters
scopes
Spotify scopes the api instance should be able to access for the user
client Id
Spotify client id
redirect Uri
Spotify redirect uri
is Implicit Grant Flow
Whether the authorization url should be for the Implicit Grant flow, otherwise for Authorization Code flo
should Show Dialog
If isImplicitGrantFlow is true, whether or not to force the user to approve the app again if they’ve already done so.
state
This provides protection against attacks such as cross-site request forgery.