elixirfm v0.0.11 Elixirfm.Auth

Wrapper for authenticating a user with Last.fm Support coming soon

Link to this section Summary

Functions

If the user is not logged in to Last.fm, they will be redirected to the login page before being asked to grant your web application permission to use their account

You can optionally specify a callback URL that is different to your API Account callback url. Include this as a query param cb. This allows you to have users forward to a specific part of your site after the authorisation process

Link to this section Functions

Link to this function request_user_auth()

If the user is not logged in to Last.fm, they will be redirected to the login page before being asked to grant your web application permission to use their account.

Link to this function request_user_auth(optional_callback_url)

You can optionally specify a callback URL that is different to your API Account callback url. Include this as a query param cb. This allows you to have users forward to a specific part of your site after the authorisation process.