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