yesod-auth-1.4.8: Authentication for Yesod.

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.BrowserId

Synopsis

Documentation

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

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 Source

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 Source

A settings type for various configuration options relevant to BrowserID.

See: http://www.yesodweb.com/book/settings-types

Since 1.2.0

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