startPkceAuthorizationAndLaunch

fun startPkceAuthorizationAndLaunch(scope: List<String> = emptyList(), showDialog: Boolean? = null): PkceAuthorizationRequest

Starts Authorization Code with PKCE flow and launches the authorization URL.

Return

PKCE authorization request containing the authorization URL and state.

Parameters

scope

Spotify OAuth scopes requested for this flow.

showDialog

Whether to force Spotify consent dialog display.