Ueberauth Spotify Strategy v0.0.1 Ueberauth.Strategy.Spotify View Source

Spotify Strategy for Überauth

Link to this section Summary

Functions

Fetches the Credentials from the response

Provides the extra params for the user

Handles the initial reuqest for Spotify authentication

Fetches the Info about the user from the response

Fetches the UID field from the response

Link to this section Functions

Fetches the Credentials from the response

Provides the extra params for the user.

This is one of the component functions that is used to construct the auth struct. What you return here will be in the auth struct at the extra key.

You would include any additional information within extra that does not fit in either info or credentials

Callback implementation for Ueberauth.Strategy.extra/1.

Handles the initial reuqest for Spotify authentication.

Step 1 from https://developer.spotify.com/web-api/authorization-guide/#authorization_code_flow

Fetches the Info about the user from the response

Fetches the UID field from the response