Export plugin identifier for GoogleEmail2 module
This commit is contained in:
parent
01378311f8
commit
dddae24786
@ -46,6 +46,8 @@ module Yesod.Auth.GoogleEmail2
|
|||||||
, Place(..)
|
, Place(..)
|
||||||
, Email(..)
|
, Email(..)
|
||||||
, EmailType(..)
|
, EmailType(..)
|
||||||
|
-- * Other functions
|
||||||
|
, pid
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Yesod.Auth (Auth, AuthPlugin (AuthPlugin),
|
import Yesod.Auth (Auth, AuthPlugin (AuthPlugin),
|
||||||
@ -95,6 +97,10 @@ import Network.HTTP.Types (renderQueryText)
|
|||||||
import System.IO.Unsafe (unsafePerformIO)
|
import System.IO.Unsafe (unsafePerformIO)
|
||||||
|
|
||||||
|
|
||||||
|
-- | Plugin identifier. This is used to identify the plugin used for
|
||||||
|
-- authentication. The 'credsPlugin' will contain this value when this
|
||||||
|
-- plugin is used for authentication.
|
||||||
|
-- @since 1.4.17
|
||||||
pid :: Text
|
pid :: Text
|
||||||
pid = "googleemail2"
|
pid = "googleemail2"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user