build Authorization Code With Pkce Uri
fun buildAuthorizationCodeWithPkceUri(codeChallenge: String, codeChallengeMethod: String = "S256", scope: List<String> = emptyList(), state: String? = null, showDialog: Boolean? = null): String
Builds the Spotify authorization URL for Authorization Code with PKCE flow.
Return
Spotify authorization URL.
Parameters
code Challenge
PKCE code challenge derived from the code verifier.
code Challenge Method
PKCE challenge method, typically S256.
scope
Spotify OAuth scopes requested for this flow.
state
Opaque state value used for CSRF protection during authorization.
show Dialog
Whether to force Spotify consent dialog display.