startPkceAuthorizationAsync

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

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.