liblastfm-0.1.1.1: Lastfm API interface

Safe HaskellNone

Network.Lastfm.Authentication

Contents

Description

Lastfm authentication procedure helpers

Basically, lastfm provides 3 ways to authenticate user:

Note that you can use any of them in your application despite their names

Synopsis

Helpers

getToken :: Request f Send (APIKey -> Ready)Source

Get authorization token

getSession :: Request f Sign (Token -> APIKey -> Ready)Source

Get session key

link :: Request f a t -> StringSource

Construct link user should follow to approve application