iya-sts
    Preparing search index...
    refuse: (code: any, status: any, sentence: any) => any = ...

    Type Declaration

      • (code: any, status: any, sentence: any): any
      • Builds a refusal carrying an HTTP status and an error code.

        Parameters

        • code: any

          the STS error code

        • status: any

          the HTTP status a protocol module should send

        • sentence: any

          the reason, for an operator; never a secret

        Returns any

        ok: false, the status and the errors, marked with the code