| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Yesod.Auth.OAuth2.Salesforce
Description
OAuth2 plugin for http://login.salesforce.com
- Authenticates against Salesforce
- Uses Salesforce user id as credentials identifier
- Returns given_name, family_name, email and avatar_url as extras
Documentation
Arguments
| :: YesodAuth m | |
| => Text | Client ID |
| -> Text | Client Secret |
| -> AuthPlugin m |
oauth2SalesforceScoped Source #
Arguments
| :: YesodAuth m | |
| => [Text] | List of scopes to request |
| -> Text | Client ID |
| -> Text | Client Secret |
| -> AuthPlugin m |
oauth2SalesforceSandbox Source #
Arguments
| :: YesodAuth m | |
| => Text | Client ID |
| -> Text | Client Secret |
| -> AuthPlugin m |
oauth2SalesforceSandboxScoped Source #
Arguments
| :: YesodAuth m | |
| => [Text] | List of scopes to request |
| -> Text | Client ID |
| -> Text | Client Secret |
| -> AuthPlugin m |
module Yesod.Auth.OAuth2