Safe Haskell | None |
---|---|
Language | Haskell98 |
- 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 #
data OpenIdState_1 Source #
data OpenIdState Source #
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 #
data GetOpenIdRealm Source #
newtype SetOpenIdRealm Source #
data SetRealmData Source #
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 #