authenticate-1.3.5.1: Authentication methods for Haskell web applications.
Safe HaskellNone
LanguageHaskell2010

Web.Authenticate.OpenId

Synopsis

Functions

getForwardUrl Source #

Arguments

:: MonadIO 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 :: MonadIO m => [(Text, Text)] -> Manager -> m (Identifier, [(Text, Text)]) Source #

Deprecated: Use authenticateClaimed

Types

newtype Identifier Source #

A valid OpenID identifier.

Constructors

Identifier 

Fields

Instances

Instances details
Eq Identifier Source # 
Instance details

Defined in OpenId2.Types

Data Identifier Source # 
Instance details

Defined in OpenId2.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Identifier -> c Identifier #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Identifier #

toConstr :: Identifier -> Constr #

dataTypeOf :: Identifier -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Identifier) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Identifier) #

gmapT :: (forall b. Data b => b -> b) -> Identifier -> Identifier #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Identifier -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Identifier -> r #

gmapQ :: (forall d. Data d => d -> u) -> Identifier -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Identifier -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Identifier -> m Identifier #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Identifier -> m Identifier #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Identifier -> m Identifier #

Ord Identifier Source # 
Instance details

Defined in OpenId2.Types

Read Identifier Source # 
Instance details

Defined in OpenId2.Types

Show Identifier Source # 
Instance details

Defined in OpenId2.Types

Response