startPkceAuthorizationAsync

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

Deprecated

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

Replace with

startPkceAuthorization(scope, showDialog)

Starts Authorization Code with PKCE flow asynchronously.

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.