authenticate-1.3.2: Authentication methods for Haskell web applications.

Safe HaskellNone

Web.Authenticate.OpenId

Contents

Synopsis

Functions

getForwardUrlSource

Arguments

:: (MonadResource m, MonadBaseControl IO 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.

-> Manager 
-> m Text

URL to send the user to.

authenticate :: (MonadBaseControl IO m, MonadResource m, MonadIO m) => [(Text, Text)] -> Manager -> m (Identifier, [(Text, Text)])Source

Deprecated: Use authenticateClaimed

Types

newtype Identifier Source

A valid OpenID identifier.

Constructors

Identifier 

Fields

identifier :: Text
 

Response