Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data OpenIdError
- data OpenIdState_1 = OpenIdState_1 {}
- identifiers_1 :: Iso' OpenIdState_1 (Map Identifier UserId)
- data OpenIdState = OpenIdState {}
- openIdRealm :: Lens' OpenIdState (Maybe Text)
- identifiers :: Lens' OpenIdState (Map Identifier UserId)
- initialOpenIdState :: OpenIdState
- identifierToUserId :: Identifier -> Query OpenIdState (Maybe UserId)
- associateIdentifierWithUserId :: Identifier -> UserId -> Update OpenIdState ()
- getOpenIdRealm :: Query OpenIdState (Maybe Text)
- setOpenIdRealm :: Maybe Text -> Update OpenIdState ()
- newtype IdentifierToUserId = IdentifierToUserId Identifier
- data AssociateIdentifierWithUserId = AssociateIdentifierWithUserId Identifier UserId
- data GetOpenIdRealm = GetOpenIdRealm
- newtype SetOpenIdRealm = SetOpenIdRealm (Maybe Text)
- data SetRealmData = SetRealmData {}
- srOpenIdRealm :: Iso' SetRealmData (Maybe Text)
- realm :: Happstack m => AcidState AuthenticateState -> AcidState OpenIdState -> m Response
- getIdentifier :: Happstack m => m Identifier
- token :: (Alternative m, Happstack m) => AcidState AuthenticateState -> AuthenticateConfig -> AcidState OpenIdState -> m Response
Documentation
data OpenIdError Source #
Instances
data OpenIdState_1 Source #
Instances
data OpenIdState Source #
Instances
openIdRealm :: Lens' OpenIdState (Maybe Text) Source #
associateIdentifierWithUserId :: Identifier -> UserId -> Update OpenIdState () Source #
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.
newtype IdentifierToUserId Source #
Instances
SafeCopy IdentifierToUserId Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
QueryEvent IdentifierToUserId Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
Method IdentifierToUserId Source # | |
Defined in Happstack.Authenticate.OpenId.Core methodTag :: IdentifierToUserId -> Tag # | |
type MethodState IdentifierToUserId Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
type MethodResult IdentifierToUserId Source # | |
Defined in Happstack.Authenticate.OpenId.Core |
data AssociateIdentifierWithUserId Source #
Instances
data GetOpenIdRealm Source #
Instances
SafeCopy GetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
QueryEvent GetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
Method GetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core type MethodResult GetOpenIdRealm # type MethodState GetOpenIdRealm # methodTag :: GetOpenIdRealm -> Tag # | |
type MethodState GetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
type MethodResult GetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core |
newtype SetOpenIdRealm Source #
Instances
SafeCopy SetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
UpdateEvent SetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
Method SetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core type MethodResult SetOpenIdRealm # type MethodState SetOpenIdRealm # methodTag :: SetOpenIdRealm -> Tag # | |
type MethodState SetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core | |
type MethodResult SetOpenIdRealm Source # | |
Defined in Happstack.Authenticate.OpenId.Core |
data SetRealmData Source #
Instances
realm :: Happstack m => AcidState AuthenticateState -> AcidState OpenIdState -> m Response Source #
getIdentifier :: Happstack m => m Identifier Source #
token :: (Alternative m, Happstack m) => AcidState AuthenticateState -> AuthenticateConfig -> AcidState OpenIdState -> m Response Source #