TokenProvider

fun interface TokenProvider

Provides a bearer token for Spotify Web API requests.

Implement this interface to supply a custom token source (e.g. auto-refresh via SpotifyAuthManager). The default implementation is TokenHolder.

Inheritors

Functions

Link copied to clipboard
abstract fun provideToken(): String