happstack-authenticate-2.4.0: Happstack Authentication Library

Safe HaskellNone
LanguageHaskell98

Happstack.Authenticate.OpenId.Core

Contents

Synopsis

Documentation

data OpenIdError Source #

Instances
Eq OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Data OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Methods

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

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

toConstr :: OpenIdError -> Constr Source #

dataTypeOf :: OpenIdError -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Read OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Show OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Generic OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Associated Types

type Rep OpenIdError :: Type -> Type Source #

ToJSON OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

FromJSON OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

ToJExpr OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

RenderMessage HappstackAuthenticateI18N OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdError Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdError = D1 (MetaData "OpenIdError" "Happstack.Authenticate.OpenId.Core" "happstack-authenticate-2.4.0-Fn6kkNFKDUSJDKP30N56RM" False) (C1 (MetaCons "UnknownIdentifier" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CoreError" PrefixI True) (S1 (MetaSel (Just "openIdErrorMessageE") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CoreError)))

data OpenIdState_1 Source #

Instances
Eq OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Data OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Methods

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

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

toConstr :: OpenIdState_1 -> Constr Source #

dataTypeOf :: OpenIdState_1 -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Read OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Show OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Generic OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Associated Types

type Rep OpenIdState_1 :: Type -> Type Source #

SafeCopy OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdState_1 Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdState_1 = D1 (MetaData "OpenIdState_1" "Happstack.Authenticate.OpenId.Core" "happstack-authenticate-2.4.0-Fn6kkNFKDUSJDKP30N56RM" False) (C1 (MetaCons "OpenIdState_1" PrefixI True) (S1 (MetaSel (Just "_identifiers_1") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Map Identifier UserId))))

data OpenIdState Source #

Instances
Eq OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Data OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Methods

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

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

toConstr :: OpenIdState -> Constr Source #

dataTypeOf :: OpenIdState -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Read OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Show OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Generic OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Associated Types

type Rep OpenIdState :: Type -> Type Source #

IsAcidic OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Migrate OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Associated Types

type MigrateFrom OpenIdState :: Type Source #

SafeCopy OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdState = D1 (MetaData "OpenIdState" "Happstack.Authenticate.OpenId.Core" "happstack-authenticate-2.4.0-Fn6kkNFKDUSJDKP30N56RM" False) (C1 (MetaCons "OpenIdState" PrefixI True) (S1 (MetaSel (Just "_identifiers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Map Identifier UserId)) :*: S1 (MetaSel (Just "_openIdRealm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type MigrateFrom OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

getOpenIdRealm :: Query OpenIdState (Maybe Text) Source #

Get the OpenId realm to use for authentication

setOpenIdRealm :: Maybe Text -> Update OpenIdState () Source #

set the realm used for OpenId Authentication

IMPORTANT: Changing this value after users have registered is likely to invalidate existing OpenId tokens resulting in users no longer being able to access their old accounts.

data SetRealmData Source #

Constructors

SetRealmData 
Instances
Eq SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Data SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Methods

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

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

toConstr :: SetRealmData -> Constr Source #

dataTypeOf :: SetRealmData -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Read SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Show SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Generic SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

Associated Types

type Rep SetRealmData :: Type -> Type Source #

ToJSON SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

FromJSON SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep SetRealmData Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep SetRealmData = D1 (MetaData "SetRealmData" "Happstack.Authenticate.OpenId.Core" "happstack-authenticate-2.4.0-Fn6kkNFKDUSJDKP30N56RM" False) (C1 (MetaCons "SetRealmData" PrefixI True) (S1 (MetaSel (Just "_srOpenIdRealm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

Orphan instances