iya-sts
    Preparing search index...
    verify: (statement: any, opts: any) => Promise<any> = ...

    Type Declaration

      • (statement: any, opts: any): Promise<any>
      • Verifies one statement, its signature before any claim is believed.

        Parameters

        • statement: any

          the statement JWT

        • opts: any

          base, the address the request arrived on

        Returns Promise<any>

        a promise of { ok: true, trusted, issuer, issuerKind, publisher, metadata, ... }, or a refusal carrying error, description and errorCode