Svelixir. Config. Auth
(svelixir v0.11.0)
Copy Markdown
Authentication surfaces — the auth: section.
local is derived: oidc and saml both issue app tokens through that same
path, so either one forces it. Svelixir.Config.Otp applies the implication,
and also enforces that any auth at all requires project.type: :web.
local/oidc/saml are the canonical names. The scaffolder skills reach
the same three switches as options.local_auth/oidc_auth/saml_auth;
those spellings are retired and are not accepted as input. See the mapping
table in Svelixir.Config.
Summary
Functions
Returns the enabled auth methods, sorted.
Builds this section, and any nested block, from input.
Types
Functions
Returns the enabled auth methods, sorted.
Svelixir.Config.Otp uses this to name what was requested when auth is
rejected on an :otp project.
Builds this section, and any nested block, from input.