View Source Ueberauth.Strategy.Zapier (ueberauth_zapier v0.1.0)
Implements an Überauth strategy for authentication with Zapier.
When configuring the strategy in the Überauth provides, you can specify some defaults.
default_scope
- The default scopes to request from Zapier when authenticating. Defaultprofile
.oauth2_module
- The OAuth2 module to use for authentication. DefaultUeberauth.Strategy.Zapier.OAuth
.
config :ueberauth, Ueberauth,
providers: [
zapier: {Ueberauth.Strategy.Zapier, [default_scope: "profile"]}
]
Summary
Functions
Includes the credentials from the Zapier response.
Callback implementation for Ueberauth.Strategy.default_options/0
.
Stores the raw information (including the token and user) in the Ueberauth.Auth.Extra
struct.
Cleans up the private area of the connection used for passing the raw response during the callback.
Handles initial redirect to the Zapier OAuth authorization page.
Fetches the user information from the Zapier response to populate the Ueberauth.Auth.Info
struct.
Fetches the uid field from the Zapier response.
Functions
Includes the credentials from the Zapier response.
Callback implementation for Ueberauth.Strategy.default_options/0
.
Stores the raw information (including the token and user) in the Ueberauth.Auth.Extra
struct.
Cleans up the private area of the connection used for passing the raw response during the callback.
Handles initial redirect to the Zapier OAuth authorization page.
To customize the scopes, set the :default_scope
option in your configuration.
Fetches the user information from the Zapier response to populate the Ueberauth.Auth.Info
struct.
Fetches the uid field from the Zapier response.