(authorize web-auth
{:keys [audience connection scope response-type mode client-id
redirect-uri leeway state]}
on-authenticated
on-error)
The basic authorize
The basic authorize
(check-session web-auth
{:keys [domain client-id response-type state nonce redirect-uri
scope audience timeout]}
on-authenticated
on-error)
Check session
Check session
(init-app auth0-info {:keys [on-authenticated on-error]})
A more substantial app boot, including loading stored credentials
A more substantial app boot, including loading stored credentials
(login web-auth
{:keys [username email password connection]}
on-authenticated
on-error)
Logs in user username and password
Logs in user username and password
(maybe-auth-result)
Tries to fetch auth results from local storage
Tries to fetch auth results from local storage
(passwordless-login web-auth
{:keys [connection code phone-number email]}
on-authenticated
on-error)
Enter code for passwordless login
Enter code for passwordless login
(passwordless-start web-auth
{:keys [connection send phone-number email]}
on-authenticated
on-error)
Start passwordless authentication
Start passwordless authentication
(popup-authorize web-auth
{:keys [audience connection scope response-type mode client-id
redirect-uri leeway state]}
on-authenticated
on-error)
Popup variant
Popup variant
(popup-preload)
Preloads the popup window, to get around blockers
Preloads the popup window, to get around blockers
(remove-nils-and-empty m)
Take a map, and remove all nil or empty values
Take a map, and remove all nil or empty values
(reset-password web-auth {:keys [email connection]} on-success on-error)
Requests a password reset
Requests a password reset
(signup web-auth
{:keys [username email password connection metadata]}
on-success
on-error)
Signs up using username password
Signs up using username password
(web-auth {:keys [domain client-id redirect-uri scope audience response-type
response-mode]})
Builds the WebAuth object.
Builds the WebAuth object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close