ApiCoreFunctions
Function: verifyDelegation()
function verifyDelegation(
value,
provider,
options?
): Promise<Verified>;Defined in: packages/core/src/identity/ucan.ts:246
Checks one token: its shape, its signature by its issuer (low S only), and,
unless untimed, that nbf ≤ at < exp. A token without both bounds is never
valid at a time.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
provider | CryptoProvider |
options? | VerifyOptions |
Returns
Promise<Verified>