| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Yesod.Auth.OAuth2.Dispatch
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
Arguments
| :: 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