toip.tools

type · Browser and Node

CredentialCheck

@toip-tools/trust-coreView source
TypeScriptImport
import { type CredentialCheck } from "@toip-tools/trust-core";

Declaration

TypeScripttype
type CredentialCheck =
  | { ok: true }
  | { ok: false; failure: "signatureInvalid" | "issuerMismatch" | "malformedProof" | "notYetValid" | "expired" };