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;
}
-
Returns {
by: string;
holder: string;
missing: { by: string; holder: string; name: string }[];
name: string;
precedence: number;
}
{ name, by, holder, precedence, missing }
Chooses the profile that applies to a person: of the profiles their own
stsAttributePolicyand each of their groups' name, the lowest precedence (ties by name), elsedefault. A reference to a profile the realm does not hold selects nothing and is logged (STS-LDAP-0196).