Liking cljdoc? Tell your friends :D

re-auth0.core


*clj->jscljs

(*clj->js clj)

Nil-prune too

Nil-prune too
sourceraw docstring

*js->cljcljs

(*js->clj js)

Always keywordize keys

Always keywordize keys
sourceraw docstring

app-statecljs

source

auth-results-cbcljs

(auth-results-cb on-auth-result on-error)
source

authorizecljs

(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
sourceraw docstring

check-sessioncljs

(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
sourceraw docstring

dispatch-errorcljs

(dispatch-error on-error err)
source

init-appcljs

(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
sourceraw docstring

local-storage-keycljs

(local-storage-key)
source

logincljs

(login web-auth
       {:keys [username email password connection]}
       on-authenticated
       on-error)

Logs in user username and password

Logs in user username and password
sourceraw docstring

logoutcljs

(logout web-auth {:keys [return-to client-id]})

Logout

Logout
sourceraw docstring

maybe-auth-resultcljs

(maybe-auth-result)

Tries to fetch auth results from local storage

Tries to fetch auth results from local storage
sourceraw docstring

parse-hashcljs

(parse-hash web-auth {:keys [hash state nonce]} on-authenticated on-error)
source

passwordless-logincljs

(passwordless-login web-auth
                    {:keys [connection code phone-number email]}
                    on-authenticated
                    on-error)

Enter code for passwordless login

Enter code for passwordless login
sourceraw docstring

passwordless-startcljs

(passwordless-start web-auth
                    {:keys [connection send phone-number email]}
                    on-authenticated
                    on-error)

Start passwordless authentication

Start passwordless authentication
sourceraw docstring

(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
sourceraw docstring

(popup-preload)

Preloads the popup window, to get around blockers

Preloads the popup window, to get around blockers
sourceraw docstring

remove-nils-and-emptycljs

(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
sourceraw docstring

reset-passwordcljs

(reset-password web-auth {:keys [email connection]} on-success on-error)

Requests a password reset

Requests a password reset
sourceraw docstring

signupcljs

(signup web-auth
        {:keys [username email password connection metadata]}
        on-success
        on-error)

Signs up using username password

Signs up using username password
sourceraw docstring

web-authcljs

(web-auth {:keys [domain client-id redirect-uri scope audience response-type
                  response-mode]})

Builds the WebAuth object.

Builds the WebAuth object.
sourceraw docstring

web-auth-instancecljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close