- getForwardUrl :: (MonadIO m, Failure AuthenticateException m, Failure HttpException m) => Text -> Text -> Maybe Text -> [(Text, Text)] -> m Text
- authenticate :: (MonadIO m, Failure AuthenticateException m, Failure HttpException m) => [(Text, Text)] -> m (Identifier, [(Text, Text)])
- data AuthenticateException
- newtype Identifier = Identifier {
- identifier :: Text
Documentation
:: (MonadIO m, Failure AuthenticateException m, Failure HttpException m) | |
=> Text | The openid the user provided. |
-> Text | The URL for this application's complete page. |
-> Maybe Text | Optional realm |
-> [(Text, Text)] | Additional parameters to send to the OpenID provider. These can be useful for using extensions. |
-> m Text | URL to send the user to. |
authenticate :: (MonadIO m, Failure AuthenticateException m, Failure HttpException m) => [(Text, Text)] -> m (Identifier, [(Text, Text)])Source
newtype Identifier Source
A valid OpenID identifier.