spotify_ex v0.1.4 Spotify.Cookies
Convinience setters and getters for auth cookies
Summary
Functions
Gets the access token
Returns a map of token cookies from a parsed response body
Gets the access token
Sets the access token
Sets the refresh token and access token and returns the conn
Sets the refresh token
Functions
Sets the refresh token and access token and returns the conn.
##Example:
Spotify.Cookies.set_cookies(conn, %{refresh_token: rt, access_token: at})