iya-sts
    Preparing search index...

    Variable identifyCaller

    identifyCaller: (
        req: any,
        body: any,
        member: any,
        kind: any,
        options?: any,
    ) => Promise<any> = ...

    Type Declaration

      • (req: any, body: any, member: any, kind: any, options?: any): Promise<any>
      • Identifies who is calling — a client instance or a resource server — by its key, its entry and its proof of possession.

        Parameters

        • req: any

          the request

        • body: any

          what gnap_proof.readBody() read

        • member: any

          the client or resource server member: { reference, key, classId, display }

        • kind: any

          KIND_CLIENT or KIND_RS

        • Optionaloptions: any

          further options for the proof

        Returns Promise<any>

        { ok: true, app, descriptor, proof, ... }, or a refusal