iya-sts
    Preparing search index...
    selectionFor: (
        subject?: Subject,
    ) => {
        by: string;
        holder: string;
        missing: { by: string; holder: string; name: string }[];
        name: string;
        precedence: number;
    } = ...

    Type Declaration

      • (
            subject?: Subject,
        ): {
            by: string;
            holder: string;
            missing: { by: string; holder: string; name: string }[];
            name: string;
            precedence: number;
        }
      • Chooses the profile that applies to a person: of the profiles their own stsAttributePolicy and each of their groups' name, the lowest precedence (ties by name), else default. A reference to a profile the realm does not hold selects nothing and is logged (STS-LDAP-0196).

        Parameters

        • Optionalsubject: Subject

          uid (their groups are read by it), attributes (the entry as it is or will be; their own reference is read from it) and groups (any the same write adds, by cn or DN)

        Returns {
            by: string;
            holder: string;
            missing: { by: string; holder: string; name: string }[];
            name: string;
            precedence: number;
        }

        { name, by, holder, precedence, missing }