get Pkce Auth Url Full
fun getPkceAuthUrlFull(vararg scopes: SpotifyScope, clientId: String, redirectUri: String, codeChallenge: String, state: String? = null): String
Content copied to clipboard
Get the PKCE 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
clientId
Spotify client id
redirectUri
Spotify redirect uri
codeChallenge
The code challenge corresponding to your codeVerifier. It is highly recommend to use getSpotifyPkceCodeChallenge to get the code challenge from a code verifier (only available for JVM/Android).
state
This provides protection against attacks such as cross-site request forgery.
Sources
common source
Link copied to clipboard