View as Markdown

SDK reference · Rails

holderReason

holderReason in @provenanceauth/rails/mandates, Rails. The holder check on a bound grant: null when it holds, else the reason.

Signature

holderReason(token: string, jkt: string, holder: MandateHolder | undefined, nowMs: number): Promise<MandateReason | null>

Parameters

tokenstringRequired
jktstringRequired
holderMandateHolder | undefinedRequired
nowMsnumberRequired

Returns

Promise<MandateReason | null>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.