View Source Assent (Assent v0.3.0)
Multi-provider authentication framework.
Features
- Includes the following base strategies:
- OAuth 1.0 -
Assent.Strategy.OAuth
- OAuth 2.0 -
Assent.Strategy.OAuth2
- OpenID Connect -
Assent.Strategy.OIDC
- OAuth 1.0 -
- Includes the following provider strategies:
- Apple Sign In -
Assent.Strategy.Apple
- Auth0 -
Assent.Strategy.Auth0
- Azure AD -
Assent.Strategy.AzureAD
- Basecamp -
Assent.Strategy.Basecamp
- Bitbucket -
Assent.Strategy.Bitbucket
- DigitalOcean -
Assent.Strategy.DigitalOcean
- Discord -
Assent.Strategy.Discord
- Facebook -
Assent.Strategy.Facebook
- Github -
Assent.Strategy.Github
- Gitlab -
Assent.Strategy.Gitlab
- Google -
Assent.Strategy.Google
- Instagram -
Assent.Strategy.Instagram
- LINE Login -
Assent.Strategy.LINE
- Linkedin -
Assent.Strategy.Linkedin
- Spotify -
Assent.Strategy.Spotify
- Strava -
Assent.Strategy.Strava
- Slack -
Assent.Strategy.Slack
- Stripe Connect -
Assent.Strategy.Stripe
- Telegram -
Assent.Strategy.Telegram
- Twitch -
Assent.Strategy.Twitch
- Twitter -
Assent.Strategy.Twitter
- VK -
Assent.Strategy.VK
- Zitadel -
Assent.Strategy.Zitadel
- Apple Sign In -
Summary
Functions
Fetches the key value from the configuration.
Fetches the key value from the params.
Fetches the JSON library in config.
Functions
@spec fetch_config(Keyword.t(), atom()) :: {:ok, any()} | {:error, Assent.MissingConfigError.t()}
Fetches the key value from the configuration.
Returns a Assent.MissingConfigError
if the key is not found.
@spec fetch_param(map(), binary()) :: {:ok, any()} | {:error, Assent.MissingParamError.t()}
Fetches the key value from the params.
Returns a Assent.MissingParamError
if the key is not found.
Fetches the JSON library in config.
If not found in provided config, this will attempt to load the JSON library
from global application environment for :assent
. Defaults to
JSON
.