hoauth2-0.2.2: hoauth2

Safe HaskellSafe-Infered

Network.OAuth2.HTTP.HttpClient

Synopsis

Documentation

requestAccessTokenSource

Arguments

:: OAuth2 
-> ByteString

Authentication code gained after authorization

-> IO (Maybe AccessToken) 

Request (POST method) access token URL in order to get AccessToken.

FIXME: what if requestAccessToken' return error?