From dddae247864ebc301949a59571dafe01e886d503 Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Tue, 7 Feb 2017 01:00:00 +0530 Subject: [PATCH] Export plugin identifier for GoogleEmail2 module --- yesod-auth/Yesod/Auth/GoogleEmail2.hs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yesod-auth/Yesod/Auth/GoogleEmail2.hs b/yesod-auth/Yesod/Auth/GoogleEmail2.hs index a1302999..06485e7c 100644 --- a/yesod-auth/Yesod/Auth/GoogleEmail2.hs +++ b/yesod-auth/Yesod/Auth/GoogleEmail2.hs @@ -46,6 +46,8 @@ module Yesod.Auth.GoogleEmail2 , Place(..) , Email(..) , EmailType(..) + -- * Other functions + , pid ) where import Yesod.Auth (Auth, AuthPlugin (AuthPlugin), @@ -95,6 +97,10 @@ import Network.HTTP.Types (renderQueryText) 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 = "googleemail2"