Safe Haskell | None |
---|
Generic OAuth2 plugin for Yesod
- See Yesod.Auth.OAuth2.Learn for example usage.
- authOAuth2 :: YesodAuth m => Text -> OAuth2 -> (Manager -> AccessToken -> IO (Creds m)) -> AuthPlugin m
- oauth2Url :: Text -> AuthRoute
- data YesodOAuth2Exception = InvalidProfileResponse Text ByteString
- module Network.OAuth.OAuth2
Documentation
:: YesodAuth m | |
=> Text | Service name |
-> OAuth2 | Service details |
-> (Manager -> AccessToken -> IO (Creds m)) | This function defines how to take an |
-> AuthPlugin m |
data YesodOAuth2Exception Source
Provider name and Aeson parse error
module Network.OAuth.OAuth2