Helper functions to bind useful Persona actions to UI elements.
Helper functions to bind useful Persona actions to UI elements.
(persona-controller & [elem])
Bind persona-controller to any UI element that will always be loaded to setup Persona. Triggers the following JS DOM events:
:persona-kit/login :persona-kit/logout
so that your application can know when to refresh the view.
Bind persona-controller to any UI element that will always be loaded to setup Persona. Triggers the following JS DOM events: :persona-kit/login :persona-kit/logout so that your application can know when to refresh the view.
(sign-in-controller button)
(sign-out-controller elem)
(valid? verification-response)
Return true if the verification response confirms this user's identity.
Return true if the verification response confirms this user's identity.
(verify-assertion assertion audience)
Return the raw verification response as a map.
Return the raw verification response as a map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close