liblastfm-0.0.2.1: 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.lastfm.ru/api/show/auth.getMobileSession

getToken :: APIKey -> Lastfm ResponseSource

Fetch an unathorized request token for an API account.

More: http://www.lastfm.ru/api/show/auth.getToken

getAuthorizeTokenLink :: APIKey -> Token -> StringSource

Construct the link to authorize token.