Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deprecated: Mozilla Persona will be shut down by the end of 2016
module is no longer recommended for use.
Synopsis
- authBrowserId :: YesodAuth m => BrowserIdSettings -> AuthPlugin m
- createOnClick :: BrowserIdSettings -> (Route Auth -> Route master) -> WidgetFor master Text
- createOnClickOverride :: BrowserIdSettings -> (Route Auth -> Route master) -> Maybe (Route master) -> WidgetFor master Text
- def :: Default a => a
- data BrowserIdSettings
- bisAudience :: BrowserIdSettings -> Maybe Text
- bisLazyLoad :: BrowserIdSettings -> Bool
- forwardUrl :: AuthRoute
Documentation
authBrowserId :: YesodAuth m => BrowserIdSettings -> AuthPlugin m Source #
createOnClick :: BrowserIdSettings -> (Route Auth -> Route master) -> WidgetFor master Text Source #
Generates a function to handle on-click events, and returns that function name.
createOnClickOverride :: BrowserIdSettings -> (Route Auth -> Route master) -> Maybe (Route master) -> WidgetFor master Text Source #
Generates a function to handle on-click events, and returns that function name.
data BrowserIdSettings Source #
A settings type for various configuration options relevant to BrowserID.
See: http://www.yesodweb.com/book/settings-types
Since 1.2.0
Instances
Default BrowserIdSettings Source # | |
Defined in Yesod.Auth.BrowserId |
bisAudience :: BrowserIdSettings -> Maybe Text Source #
BrowserID audience value. If Nothing
, will be extracted based on the
approot.
Default: Nothing
Since 1.2.0
bisLazyLoad :: BrowserIdSettings -> Bool Source #
Use asynchronous Javascript loading for the BrowserID JS file.
Default: True
.
Since 1.2.0