happstack-authenticate-2.3.4.4: Happstack Authentication Library

Safe HaskellNone
LanguageHaskell98

Happstack.Authenticate.OpenId.Core

Synopsis

Documentation

identifiers :: Lens' OpenIdState (Map Identifier UserId) 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.

realm :: Happstack m => AcidState AuthenticateState -> AcidState OpenIdState -> m Response Source

getIdentifier :: Happstack m => m Identifier Source