StructsΒ§
- Native
Query π - Native
Submit π
EnumsΒ§
- Flow π
ConstantsΒ§
- LOGIN_
TOKEN_ πLENGTH
StaticsΒ§
- BOUND_
HTML π - LOGIN_
HTML π - REGISTER_
HTML π - TOKEN_
FIELD π
FunctionsΒ§
- authenticate_
local π - Authenticate through the local branch of an authorization request.
- complete_
redirect π - Redirects with 303 so the browser cannot replay the password form into the completion or callback route.
- do_
register π - error_
block π - native_
get_ πroute - Renders the native login or registration page for a pending authorization, device, or account flow.
- native_
submit π - native_
submit_ πroute - Authenticates submitted credentials and sends the login token to the authorization completion, device-consent, or account-management callback.
- parse_
flow π - provider_
choice π - provider_
redirect π - Send the browser to the provider chosen on the login page.
- record_
accepted_ πterms - render_
bound π - Offer only the provider a pending request is bound to.
- render_
login π - render_
page π - Render the page for a flow, reading an authorization requestβs binding.
- render_
register π - render_
sso_ πoptions - List each provider as a link that binds the pending request to it.
- render_
submit_ πerror - Re-render the page a failed submission came from, carrying its error.
- require_
native π - sso_
choices π - Providers the login page offers, as the client login flows list them.
- terms_
block π - verify_
credentials π - Authenticate a local account by password, mirroring the
/loginpassword flow (password_login): password-origin accounts only, uniform error.
Type AliasesΒ§
- Account
Action π - Device
Id π - IdpId π
- Provider
Choice π