Export credsKey

This commit is contained in:
Michael Snoyman 2013-12-04 05:26:51 +02:00
parent cf0fad20bc
commit 04893d6b0a

View File

@ -34,6 +34,8 @@ module Yesod.Auth
, AuthException (..)
-- * Helper
, AuthHandler
-- * Internal
, credsKey
) where
import Control.Monad (when)
@ -163,6 +165,9 @@ class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage
=> HandlerT master IO (Maybe (AuthId master))
maybeAuthId = defaultMaybeAuthId
-- | Internal session key used to hold the authentication information.
--
-- Since 1.2.3
credsKey :: Text
credsKey = "_ID"