minca
ApiCoreType aliases

Type Alias: NoteCheck

type NoteCheck = 
  | {
  audience: string;
  note: Delegation;
  root: string;
  valid: true;
}
  | {
  reason: string;
  valid: false;
};

Defined in: packages/core/src/identity/ucan.ts:297

The outcome of checking a note

Union Members

Type Literal

{
  audience: string;
  note: Delegation;
  root: string;
  valid: true;
}

audience

readonly audience: string;

The key it is made out to

note

readonly note: Delegation;

root

readonly root: string;

The account: the note's issuer

valid

readonly valid: true;

Type Literal

{
  reason: string;
  valid: false;
}

On this page