minca
ApiSessionFunctions

Function: checkGrant()

function checkGrant(
   grant, 
   audience, 
   asked?
): Promise<void>;

Defined in: packages/core/src/session/connect.ts:557

Refuses a grant that is not a valid note from the account to this key, or, when records only were asked for, one that grants more.

Parameters

ParameterType
grantGrant
audiencestring
asked?{ recordsOnly?: boolean; }
asked.recordsOnly?boolean

Returns

Promise<void>

On this page