0.0.3 • Published 8 years ago
spotifauth v0.0.3
Spotifauth
Simple Spotify authentication wrapper.
Wraps the spotify /api/token endpoint with features for login and refresh.
Login
Acquire an access and refresh with a authorization_code grant type.
The following must be provided.
- code provided by the
/authorizeendpoint - redirect uri passed to the
/authorizeendpoint - application
client_id - application
client_secret
Refresh
Acquire an access token with a refresh_token grant type.
The following must be provided.
refresh_tokenreceived when requesting anaccess_tokenwithauthorization_codegrant type- application
client_id - application
client_secret
Contribution
email me