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

    Type Declaration

      • (req: any, opts: any): Promise<any>
      • Runs the whole SPNEGO exchange, from the Authorization header to a verdict; it writes nothing to the response.

        Parameters

        • req: any

          the request

        • opts: any

          door (the endpoint's path), supported (the mechanism OIDs), wantMic, mutualOff, via, and record (false when the caller records the authentication itself)

        Returns Promise<any>

        a promise of the verdict: code (one of OUTCOMES), ok, status, wwwAuthenticate, reason, checks and the outcome's facts