iya-sts
    Preparing search index...
    fromTrustedProxy: (req: any) => boolean = ...

    Type Declaration

      • (req: any): boolean
      • Whether a request arrived from a trusted TLS-terminating proxy: on a connection whose own client certificate verified and is one of tls.trustedProxyCertificates — by its own SHA-256 or, for an spki: pin, its SubjectPublicKeyInfo's — from an address in tls.trustedProxyAddresses.

        Parameters

        • req: any

          the request

        Returns boolean

        true where it did