TokenHolder

Deprecated

Global mutable token state is retired in 2.0. Construct SpotifyClient with an accessToken or a TokenProvider, or pass a TokenProvider to the *Apis classes. TokenHolder remains only as a compatibility shim and will be removed in a future release.

Properties

Link copied to clipboard
Link copied to clipboard
var tokenProvider: () -> String??

Functions

Link copied to clipboard

Resolves the current bearer token.

Link copied to clipboard
open suspend override fun provideToken(): String