Skip to main content

Module native

Module native 

Source

Structsยง

NativeQuery ๐Ÿ”’
NativeSubmit ๐Ÿ”’

Enumsยง

Flow ๐Ÿ”’

Constantsยง

LOGIN_TOKEN_LENGTH ๐Ÿ”’

Staticsยง

LOGIN_HTML ๐Ÿ”’
REGISTER_HTML ๐Ÿ”’
TOKEN_FIELD ๐Ÿ”’

Functionsยง

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 bound to a pending authorization request.
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 ๐Ÿ”’
record_accepted_terms ๐Ÿ”’
render_login ๐Ÿ”’
render_page ๐Ÿ”’
render_register ๐Ÿ”’
require_native ๐Ÿ”’
terms_block ๐Ÿ”’
verify_credentials ๐Ÿ”’
Authenticate a local account by password, mirroring the /login password flow (password_login): password-origin accounts only, uniform error.

Type Aliasesยง

AccountAction ๐Ÿ”’
DeviceId ๐Ÿ”’