Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data OAuth2 = OAuth2 {}
- oAuth2Parser :: ProviderParser
- data URIParseException = URIParseException URIParseError
- parseAbsoluteURI :: MonadThrow m => Text -> m URI
Documentation
General OAuth2 authentication Provider
.
oAuth2Parser :: ProviderParser Source #
Aeson parser for OAuth2
provider.
Since: 0.1.0
data URIParseException Source #
Used for validating proper url structure. Can be thrown by
parseAbsoluteURI
and consequently by handleLogin
for OAuth2
Provider
instance.
Since: 0.1.2.0
parseAbsoluteURI :: MonadThrow m => Text -> m URI Source #
Parse absolute URI and throw URIParseException
in case it is malformed
Since: 0.1.2.0