pre-baked Route Auth value

Added forwardUrl alias for `PluginR "browserid" []` as in other plugins
(e.g. GoogleEmail2 and OpenID).
This commit is contained in:
Артур Файзрахманов 2014-08-03 16:02:52 +06:00
parent adc259a8e8
commit 13f0eb3895

View File

@ -9,6 +9,7 @@ module Yesod.Auth.BrowserId
, BrowserIdSettings
, bisAudience
, bisLazyLoad
, forwardUrl
) where
import Yesod.Auth
@ -28,8 +29,10 @@ import Data.Default
pid :: Text
pid = "browserid"
complete :: Route Auth
complete = PluginR pid []
forwardUrl :: AuthRoute
forwardUrl = PluginR pid []
complete = forwardUrl
-- | A settings type for various configuration options relevant to BrowserID.
--