iya-sts
    Preparing search index...
    verify: (format: string, value: any, ctx?: any) => Promise<any> = ...

    Type Declaration

      • (format: string, value: any, ctx?: any): Promise<any>
      • Verifies a value as a self-contained token of the named format.

        Parameters

        • format: string

          one of FORMATS

        • value: any

          the token value

        • Optionalctx: any

          the format modules' context (now, audience, presentedKey, requiredAccess) plus base, rsIdentity and rsPrivateJwk

        Returns Promise<any>

        the format's verdict: the model, or a refusal