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
| Parameter | Type |
|---|---|
grant | Grant |
audience | string |
asked? | { recordsOnly?: boolean; } |
asked.recordsOnly? | boolean |
Returns
Promise<void>