spotify

package
v0.0.0-...-c4bfc47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTokensPresence

func CheckTokensPresence(token string) bool

CheckTokensPresence checks if the spotify tokens are present

func CompleteAuth

func CompleteAuth(w http.ResponseWriter, r *http.Request)

CompleteAuth completes the Spotify authentication.

func LoginSpotify

func LoginSpotify(locale, token string) string

LoginSpotify logins the user with its token to Spotify

func RenewSpotifyToken

func RenewSpotifyToken(token string) spotify.Client

RenewSpotifyToken renews the spotify token with the user's information token and returns the spotify client.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL