iya-sts
    Preparing search index...

    Variable checkPayload

    checkPayload: (value: any, schema: any, what: any) => any = ...

    Type Declaration

      • (value: any, schema: any, what: any): any
      • Checks a payload against one resource's schema.

        Parameters

        • value: any

          the payload

        • schema: any

          one of the exported schemas

        • what: any

          the resource, for the message

        Returns any

        { ok, value } or a refusal