Safe Haskell | None |
---|---|
Language | Haskell98 |
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
.
- module Web.Authenticate.OAuth
- getAccessToken :: MonadIO m => OAuth -> Credential -> m Credential
- getTemporaryCredential :: MonadIO m => OAuth -> m Credential
- getTemporaryCredentialWithScope :: MonadIO m => ByteString -> OAuth -> m Credential
- getTemporaryCredentialProxy :: MonadIO m => Maybe Proxy -> OAuth -> m Credential
- getTemporaryCredential' :: MonadIO m => (Request -> Request) -> OAuth -> m Credential
- getTokenCredential :: MonadIO m => OAuth -> Credential -> m Credential
- getAccessTokenProxy :: MonadIO m => Maybe Proxy -> OAuth -> Credential -> m Credential
- getTokenCredentialProxy :: MonadIO m => Maybe Proxy -> OAuth -> Credential -> m Credential
- getAccessToken' :: MonadIO m => (Request -> Request) -> OAuth -> Credential -> m Credential
Documentation
module Web.Authenticate.OAuth
:: MonadIO m | |
=> OAuth | OAuth Application |
-> Credential | Temporary Credential with oauth_verifier |
-> m Credential | Token Credential (Access Token & Secret) |
Get Access token.
getTemporaryCredential Source #
:: MonadIO m | |
=> OAuth | OAuth Application |
-> m Credential | Temporary Credential (Request Token & Secret). |
Get temporary credential for requesting acces token.
getTemporaryCredentialWithScope Source #
:: 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 #
:: 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 #
:: MonadIO m | |
=> (Request -> Request) | Request Hook |
-> OAuth | OAuth Application |
-> m Credential | Temporary Credential (Request Token & Secret). |
:: MonadIO m | |
=> OAuth | OAuth Application |
-> Credential | Temporary Credential with oauth_verifier |
-> m Credential | Token Credential (Access Token & Secret) |
Get Access token.
:: 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 #
:: 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.
:: MonadIO m | |
=> (Request -> Request) | Request Hook |
-> OAuth | OAuth Application |
-> Credential | Temporary Credential with oauth_verifier |
-> m Credential | Token Credential (Access Token & Secret) |