GrantBoundPolicyOptions
@totemsdk/agent-policy / GrantBoundPolicyOptions
Interface: GrantBoundPolicyOptions
Properties
identityResolver
identityResolver:
AuthorityIdentityResolver
localBounds?
optionallocalBounds?:LocalBounds
mandateResolver
mandateResolver: (
mandateId) =>Promise<SignedProof|undefined>
Resolve a signed mandate proof by id.
Parameters
mandateId
string
Returns
Promise<SignedProof | undefined>
mandateStatusResolver?
optionalmandateStatusResolver?: () =>Promise<MandateStatusSnapshot>
Resolve current epoch / revocation state.
Returns
Promise<MandateStatusSnapshot>
now?
optionalnow?: () =>number
Injectable clock (defaults to Date.now).
Returns
number
usageStore
usageStore:
GrantUsageStore