startPkceAuthorizationAsyncAndLaunch

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

Deprecated

Use startPkceAuthorizationAndLaunch() instead. The async variant is identical to the non-suspend version.

Replace with

startPkceAuthorizationAndLaunch(scope, showDialog)

Starts Authorization Code with PKCE flow asynchronously 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.