UserKeysParameters
Class: UserKeysParameters
Defined in: packages/core/src/models/userkeys.model.ts:81
Policy of a UserKeys attribute
Extends
Constructors
Constructor
new UserKeysParameters():
UserKeysParameters
Returns
UserKeysParameters
Inherited from
Properties
escrowAttempts
escrowAttempts:
number=5
Defined in: packages/core/src/models/userkeys.model.ts:83
Escrow fetches allowed before the lockout.
Minimum
1
escrowLockout
escrowLockout:
number=900000
Defined in: packages/core/src/models/userkeys.model.ts:85
Escrow lockout duration, ms: the counter decays once it is over.
Minimum
0
reauthMaxAge
reauthMaxAge:
number=300
Defined in: packages/core/src/models/userkeys.model.ts:87
Maximum authentication age (session authAt) for every key action, seconds; 0 disables it.
Minimum
0
Methods
load()
load(
params?):this
Defined in: packages/core/src/application/parameters.ts:22
Load raw parameters by assigning them onto this instance
Parameters
params?
any = {}
the service parameters
Returns
this
this for chaining
Inherited from
update()
update(
params?,delta):this
Defined in: packages/core/src/application/parameters.ts:33
Update parameters and call watchers if a parameter was changed
Parameters
params?
any = {}
the service parameters
delta
any
the delta
Returns
this
this for chaining
Inherited from
with()
with(
callback):this
Defined in: packages/core/src/application/parameters.ts:63
Watch for changes on the parameters and call watchers when a parameter is changed
Parameters
callback
(params) => void
the callback function
Returns
this
this for chaining