Companion

object Companion

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
getAuthUrlFull
Link copied to clipboard
common
fun getAuthUrlFull(vararg scopes: SpotifyScope, clientId: String, redirectUri: String, isImplicitGrantFlow: Boolean = false, shouldShowDialog: Boolean = false, state: String? = null): String
Get the authorization url for the provided clientId and redirectUri application settings, when attempting to authorize with specified scopes
getCredentialedToken
Link copied to clipboard
common
suspend fun getCredentialedToken(clientId: String, clientSecret: String, api: GenericSpotifyApi?, json: Json = api?.spotifyApiOptions?.json ?: Json.Default): Token
Get an application token (can only access public methods) that can be used to instantiate a new SpotifyAppApi
getPkceAuthUrlFull
Link copied to clipboard
common
fun getPkceAuthUrlFull(vararg scopes: SpotifyScope, clientId: String, redirectUri: String, codeChallenge: String, state: String? = null): String
Get the PKCE authorization url for the provided clientId and redirectUri application settings, when attempting to authorize with specified scopes
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard