| Portability | portable |
|---|---|
| Stability | Unstable |
| Maintainer | Michael Snoyman <michael@snoyman.com> |
Web.Authenticate.OpenId
Description
Provides functionality for being an OpenId consumer.
- newtype Identifier = Identifier {
- identifier :: String
- getForwardUrl :: (MonadIO m, Failure WgetException m) => String -> String -> m String
- authenticate :: (MonadIO m, Failure WgetException m, Failure AuthenticateException m) => [(String, String)] -> m Identifier
- data AuthenticateException
Documentation
newtype Identifier Source
An openid identifier (ie, a URL).
Constructors
| Identifier | |
Fields
| |
Instances
Arguments
| :: (MonadIO m, Failure WgetException m) | |
| => String | The openid the user provided. |
| -> String | The URL for this application's complete page. |
| -> m String | URL to send the user to. |
Returns a URL to forward the user to in order to login.
authenticate :: (MonadIO m, Failure WgetException m, Failure AuthenticateException m) => [(String, String)] -> m IdentifierSource