authenticate-oauth-1.6: Library to authenticate with OAuth for Haskell web applications.

Safe HaskellNone
LanguageHaskell98

Web.Authenticate.OAuth.IO

Description

Deprecated: This module is deprecated; rewrite your code using MonadResource

This Module provides interface for the instance of MonadIO instead of MonadIO. What this module do is just adding withManager or runResourceT.

Synopsis

Documentation

getAccessToken Source #

Arguments

:: MonadIO m 
=> OAuth

OAuth Application

-> Credential

Temporary Credential with oauth_verifier

-> m Credential

Token Credential (Access Token & Secret)

Get Access token.

getTemporaryCredential Source #

Arguments

:: MonadIO m 
=> OAuth

OAuth Application

-> m Credential

Temporary Credential (Request Token & Secret).

Get temporary credential for requesting acces token.

getTemporaryCredentialWithScope Source #

Arguments

:: MonadIO m 
=> ByteString

Scope parameter string

-> OAuth

OAuth Application

-> m Credential

Temporay Credential (Request Token & Secret).

Get temporary credential for requesting access token with Scope parameter.

getTemporaryCredentialProxy Source #

Arguments

:: MonadIO m 
=> Maybe Proxy

Proxy

-> OAuth

OAuth Application

-> m Credential

Temporary Credential (Request Token & Secret).

Get temporary credential for requesting access token via the proxy.

getTemporaryCredential' Source #

Arguments

:: MonadIO m 
=> (Request -> Request)

Request Hook

-> OAuth

OAuth Application

-> m Credential

Temporary Credential (Request Token & Secret).

getTokenCredential Source #

Arguments

:: MonadIO m 
=> OAuth

OAuth Application

-> Credential

Temporary Credential with oauth_verifier

-> m Credential

Token Credential (Access Token & Secret)

Get Access token.

getAccessTokenProxy Source #

Arguments

:: MonadIO m 
=> Maybe Proxy

Proxy

-> OAuth

OAuth Application

-> Credential

Temporary Credential with oauth_verifier

-> m Credential

Token Credential (Access Token & Secret)

Get Access token via the proxy.

getTokenCredentialProxy Source #

Arguments

:: MonadIO m 
=> Maybe Proxy

Proxy

-> OAuth

OAuth Application

-> Credential

Temporary Credential with oauth_verifier

-> m Credential

Token Credential (Access Token & Secret)

Get Access token via the proxy.

getAccessToken' Source #

Arguments

:: MonadIO m 
=> (Request -> Request)

Request Hook

-> OAuth

OAuth Application

-> Credential

Temporary Credential with oauth_verifier

-> m Credential

Token Credential (Access Token & Secret)