View Source Spotify.Cookies (spotify_ex v2.4.0)
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
Example:
credentials = %Spotify.Credentials{refresh_token: rt, access_token: at}
Spotify.Cookies.set_cookies(conn, credentials)
Sets the refresh token