Liking cljdoc? Tell your friends :D

wagoe.user.shell.hooks

The sign-in hooks, :mfa-required?, :login-redirect and :login-layout, :profile-layout, and :group-membership, which the group service reads. Each is set in :wagoe/user config or contributed by an application module's :auth part, which can be a ref to a component — config can only name a var.

The sign-in hooks, `:mfa-required?`, `:login-redirect` and `:login-layout`,
`:profile-layout`, and `:group-membership`, which the group service reads.
Each is set in `:wagoe/user` config or contributed by an application
module's `:auth` part, which can be a ref to a component — config can only
name a var.
raw docstring

as-fnclj

(as-fn k x)

Hook x as a function of the protocol method's arguments: a function, a qualified symbol naming one, or a component implementing the hook's protocol. Throws :configuration-error for anything else.

Hook `x` as a function of the protocol method's arguments: a function, a
qualified symbol naming one, or a component implementing the hook's
protocol. Throws :configuration-error for anything else.
sourceraw docstring

config-hooksclj

The hooks handlers read from [:active :wagoe/user]; :mfa-required? goes to the auth service instead.

The hooks handlers read from `[:active :wagoe/user]`; `:mfa-required?` goes
to the auth service instead.
sourceraw docstring

prepareclj

(prepare configured contributed)

The hooks as functions. configured is what :wagoe/user sets, already resolved except for :mfa-required?; a :login-redirect role map is kept as it is. contributed is the modules' :auth. A hook set in both, or an unknown :auth key, throws :configuration-error.

The hooks as functions. `configured` is what `:wagoe/user` sets, already
resolved except for `:mfa-required?`; a `:login-redirect` role map is kept
as it is. `contributed` is the modules' `:auth`. A hook set in both, or an
unknown `:auth` key, throws :configuration-error.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close