Portability | portable |
---|---|
Stability | Unstable |
Maintainer | Michael Snoyman <michael@snoyman.com> |
Provides functionality for being an OpenId consumer.
- newtype Identifier = Identifier {
- identifier :: String
- getForwardUrl :: (MonadIO m, MonadFailure WgetException m) => String -> String -> m String
- authenticate :: (MonadIO m, MonadFailure WgetException m, MonadFailure (LookupFailure String) m, MonadFailure AuthenticateException m) => [(String, String)] -> m Identifier
Documentation
newtype Identifier Source
An openid identifier (ie, a URL).
:: (MonadIO m, MonadFailure 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, MonadFailure WgetException m, MonadFailure (LookupFailure String) m, MonadFailure AuthenticateException m) => [(String, String)] -> m IdentifierSource