Package com.adamratzman.spotify.auth.implicit

Types

Wrapper around spotify-auth's LoginActivity that allows configuration of the authentication process, along with callbacks on successful and failed authentication.
AbstractSpotifyAppImplicitLoginActivity
Link copied to clipboard
Wrapper around spotify-auth's LoginActivity that allows configuration of the authentication process, along with callbacks on successful and failed authentication.
SpotifyImplicitLoginActivity
Link copied to clipboard
interface SpotifyImplicitLoginActivity
Wrapper around spotify-auth's LoginActivity that allows configuration of the authentication process, along with callbacks on successful and failed authentication.

Functions

guardValidImplicitSpotifyApi
Link copied to clipboard
fun <T> Activity.guardValidImplicitSpotifyApi(spotifyImplicitLoginImplementationClass: Class<out SpotifyImplicitLoginActivity>, classBackTo: Class<out Activity>? = null, block: () -> T): T?
Basic implicit authentication guard - verifies that the user is logged in to Spotify and uses SpotifyDefaultImplicitAuthHelper to handle re-authentication and redirection back to the activity.
startSpotifyImplicitLoginActivity
Link copied to clipboard
inline fun <T : SpotifyImplicitLoginActivity> Activity.startSpotifyImplicitLoginActivity()
Start Spotify implicit login activity within an existing activity.
fun <T : SpotifyImplicitLoginActivity> Activity.startSpotifyImplicitLoginActivity(spotifyLoginImplementationClass: Class<T>)
Start Spotify implicit login activity within an existing activity.