yesod-auth-oauth2-0.6.0.0: OAuth 2.0 authentication plugins

Safe HaskellSafe
LanguageHaskell2010

Yesod.Auth.OAuth2.Exception

Documentation

data YesodOAuth2Exception Source #

Constructors

OAuth2Error Text ByteString

HTTP error during OAuth2 handshake

Plugin name and JSON-encoded OAuth2Error from hoauth2.

JSONDecodingError Text String

User profile was not as expected

Plugin name and Aeson parse error message.

GenericError Text String

Other error conditions

Plugin name and error message.