liblastfm-0.0.2.2: Wrapper to Lastfm API

Safe HaskellSafe-Infered

Network.Lastfm.API.Auth

Description

Auth API module

Synopsis

Documentation

getMobileSession :: Username -> APIKey -> AuthToken -> Lastfm ResponseSource

Create a web service session for a user. Used for authenticating a user when the password can be inputted by the user. Only suitable for standalone mobile devices.

More: http://www.last.fm/api/show/auth.getMobileSession

getToken :: APIKey -> Lastfm ResponseSource

Fetch an unathorized request token for an API account.

More: http://www.last.fm/api/show/auth.getToken

getAuthorizeTokenLink :: APIKey -> Token -> StringSource

Construct the link to authorize token.