iya-sts
    Preparing search index...
    receive: (record: any, token: string, via: string) => Promise<any> = ...

    Type Declaration

      • (record: any, token: string, via: string): Promise<any>
      • Takes one SET from a partner: verifies it (signature, typ, iss, aud, a fresh jti), acts on a verified one as policy permits, and records it. Product mode refuses an unverified SET.

        Parameters

        • record: any

          the relationship

        • token: string

          the SET, as a compact JWS

        • via: string

          poll or push

        Returns Promise<any>

        a promise of { ok, acted } or { ok: false, err, description, code }