| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Web.Authenticate.OpenId
Synopsis
- getForwardUrl :: MonadIO m => Text -> Text -> Maybe Text -> [(Text, Text)] -> Manager -> m Text
- authenticate :: MonadIO m => [(Text, Text)] -> Manager -> m (Identifier, [(Text, Text)])
- authenticateClaimed :: MonadIO m => [(Text, Text)] -> Manager -> m OpenIdResponse
- data AuthenticateException
- newtype Identifier = Identifier {
- identifier :: Text
- data OpenIdResponse
- oirOpLocal :: OpenIdResponse -> Identifier
- oirParams :: OpenIdResponse -> [(Text, Text)]
- oirClaimed :: OpenIdResponse -> Maybe Identifier
Functions
authenticate :: MonadIO m => [(Text, Text)] -> Manager -> m (Identifier, [(Text, Text)]) Source #
Deprecated: Use authenticateClaimed
authenticateClaimed :: MonadIO m => [(Text, Text)] -> Manager -> m OpenIdResponse Source #
Types
data AuthenticateException Source #
Constructors
| RpxnowException String | |
| NormalizationException String | |
| DiscoveryException String | |
| AuthenticationException String |
Instances
| Exception AuthenticateException Source # | |
Defined in Web.Authenticate.Internal | |
| Show AuthenticateException Source # | |
Defined in Web.Authenticate.Internal Methods showsPrec :: Int -> AuthenticateException -> ShowS # show :: AuthenticateException -> String # showList :: [AuthenticateException] -> ShowS # | |
newtype Identifier Source #
A valid OpenID identifier.
Constructors
| Identifier | |
Fields
| |
Instances
Response
data OpenIdResponse Source #