Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type FetchCreds m = Manager -> OAuth2Token -> IO (Creds m)
- dispatchAuthRequest :: Text -> OAuth2 -> FetchCreds m -> Text -> [Text] -> AuthHandler m TypedContent
Documentation
type FetchCreds m = Manager -> OAuth2Token -> IO (Creds m) Source #
How to take an
and retrieve user credentialsOAuth2Token
:: Text | Name |
-> OAuth2 | Service details |
-> FetchCreds m | How to get credentials |
-> Text | Method |
-> [Text] | Path pieces |
-> AuthHandler m TypedContent |
Dispatch the various OAuth2 handshake routes