yesod-auth-1.4.17.1: Authentication for Yesod.

Safe Haskell | None
Language | Haskell98

Yesod.Auth.BrowserId

Description

Deprecated: Mozilla Persona will be shut down by the end of 2016

NOTE: Mozilla Persona will be shut down by the end of 2016, therefore this module is no longer recommended for use.

Synopsis

- authBrowserId :: YesodAuth m => BrowserIdSettings -> AuthPlugin m
- createOnClick :: BrowserIdSettings -> (Route Auth -> Route master) -> WidgetT master IO Text
- createOnClickOverride :: BrowserIdSettings -> (Route Auth -> Route master) -> Maybe (Route master) -> WidgetT master IO Text
- def :: Default a => a
- data BrowserIdSettings
- bisAudience :: BrowserIdSettings -> Maybe Text
- bisLazyLoad :: BrowserIdSettings -> Bool
- forwardUrl :: AuthRoute

# Documentation

authBrowserId :: YesodAuth m => BrowserIdSettings -> AuthPlugin m #

createOnClick :: BrowserIdSettings -> (Route Auth -> Route master) -> WidgetT master IO Text #

Generates a function to handle on-click events, and returns that function name.

createOnClickOverride :: BrowserIdSettings -> (Route Auth -> Route master) -> Maybe (Route master) -> WidgetT master IO Text #

Generates a function to handle on-click events, and returns that function name.

def :: Default a => a #

The default value for this type.

data BrowserIdSettings #

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 # |
Methods def :: BrowserIdSettings #

bisAudience :: BrowserIdSettings -> Maybe Text #

BrowserID audience value. If `Nothing`, will be extracted based on the approot.

Default: `Nothing`

Since 1.2.0

bisLazyLoad :: BrowserIdSettings -> Bool #

Use asynchronous Javascript loading for the BrowserID JS file.

Default: `True`.

Since 1.2.0

forwardUrl :: AuthRoute #