| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
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)]) #
Deprecated: Use authenticateClaimed
authenticateClaimed :: MonadIO m => [(Text, Text)] -> Manager -> m OpenIdResponse #
Types
data AuthenticateException #
Constructors
| RpxnowException String | |
| NormalizationException String | |
| DiscoveryException String | |
| AuthenticationException String |
Instances
| Show AuthenticateException # | |
Defined in Web.Authenticate.Internal Methods showsPrec :: Int -> AuthenticateException -> ShowS # show :: AuthenticateException -> String # showList :: [AuthenticateException] -> ShowS # | |
| Exception AuthenticateException # | |
Defined in Web.Authenticate.Internal | |
newtype Identifier #
A valid OpenID identifier.
Constructors
| Identifier | |
Fields
| |
Instances
Response
data OpenIdResponse #
oirOpLocal :: OpenIdResponse -> Identifier #
oirParams :: OpenIdResponse -> [(Text, Text)] #
oirClaimed :: OpenIdResponse -> Maybe Identifier #