iya-sts
    Preparing search index...

    Variable validateDomain

    validateDomain: (domain: any, id: any) => string[] = validateDomain

    Type Declaration

      • (domain: any, id: any): string[]
      • Checks a realm's domain: a DNS name of at least two labels, not already another realm's. A domain nested inside another realm's is allowed.

        Parameters

        • domain: any

          the normalised domain

        • id: any

          the realm it is for, which may already hold it

        Returns string[]

        the error sentences, empty when it is acceptable