happstack-authenticate-2.6.0: Happstack Authentication Library
Safe HaskellNone
LanguageHaskell2010

Happstack.Authenticate.OpenId.Core

Synopsis

Documentation

data OpenIdError Source #

Instances

Instances details
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 #

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

toConstr :: OpenIdError -> Constr #

dataTypeOf :: OpenIdError -> DataType #

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

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

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

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

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

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

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

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

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

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

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 #

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.6.0-H4Cz7jjbqfUGLgvBipYkvR" '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

Instances details
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 #

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

toConstr :: OpenIdState_1 -> Constr #

dataTypeOf :: OpenIdState_1 -> DataType #

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

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

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

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

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

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

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

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

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

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

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 #

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.6.0-H4Cz7jjbqfUGLgvBipYkvR" 'False) (C1 ('MetaCons "OpenIdState_1" 'PrefixI 'True) (S1 ('MetaSel ('Just "_identifiers_1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Identifier UserId))))

data OpenIdState Source #

Instances

Instances details
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 #

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

toConstr :: OpenIdState -> Constr #

dataTypeOf :: OpenIdState -> DataType #

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

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

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

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

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

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

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

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

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

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

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 #

SafeCopy OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

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 Rep OpenIdState Source # 
Instance details

Defined in Happstack.Authenticate.OpenId.Core

type Rep OpenIdState = D1 ('MetaData "OpenIdState" "Happstack.Authenticate.OpenId.Core" "happstack-authenticate-2.6.0-H4Cz7jjbqfUGLgvBipYkvR" '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

Instances details
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 #

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

toConstr :: SetRealmData -> Constr #

dataTypeOf :: SetRealmData -> DataType #

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

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

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

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

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

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

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

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

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

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

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 #

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.6.0-H4Cz7jjbqfUGLgvBipYkvR" 'False) (C1 ('MetaCons "SetRealmData" 'PrefixI 'True) (S1 ('MetaSel ('Just "_srOpenIdRealm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

Orphan instances