Export credsKey
This commit is contained in:
parent
cf0fad20bc
commit
04893d6b0a
@ -34,6 +34,8 @@ module Yesod.Auth
|
|||||||
, AuthException (..)
|
, AuthException (..)
|
||||||
-- * Helper
|
-- * Helper
|
||||||
, AuthHandler
|
, AuthHandler
|
||||||
|
-- * Internal
|
||||||
|
, credsKey
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Control.Monad (when)
|
import Control.Monad (when)
|
||||||
@ -163,6 +165,9 @@ class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage
|
|||||||
=> HandlerT master IO (Maybe (AuthId master))
|
=> HandlerT master IO (Maybe (AuthId master))
|
||||||
maybeAuthId = defaultMaybeAuthId
|
maybeAuthId = defaultMaybeAuthId
|
||||||
|
|
||||||
|
-- | Internal session key used to hold the authentication information.
|
||||||
|
--
|
||||||
|
-- Since 1.2.3
|
||||||
credsKey :: Text
|
credsKey :: Text
|
||||||
credsKey = "_ID"
|
credsKey = "_ID"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user