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