spotify_ex v2.0.8 Spotify.Cookies View Source
Convenience setters and getters for auth cookies
Link to this section Summary
Functions
Gets the access token
Gets the access token
Sets the access token
Sets the refresh token and access token and returns the conn
Sets the refresh token
Link to this section Functions
Gets the access token
Gets the access token
Sets the access token
Sets the refresh token and access token and returns the conn.
Example:
credentials = %Spotify.Credentials{refresh_token: rt, access_token: at}
Spotify.Cookies.set_cookies(conn, credentials)
Sets the refresh token