iya-sts
    Preparing search index...

    Variable normaliseOrigin

    normaliseOrigin: (value: any) => string = normaliseOrigin

    Type Declaration

      • (value: any): string
      • Serialises an origin as a browser sends it (RFC 6454 section 6.1), which is what a write stores and what CORS compares.

        Parameters

        • value: any

          the origin as written

        Returns string

        the serialised origin, or an empty string if it is not one