mechanismsFor: (
fields: any,
person?: unknown,
) => {
by: string;
holder: string;
mechanisms: string[];
missing: boolean;
policy: string;
precedence: number;
secondFactors: string[];
} = ...
Type Declaration
-
- (
fields: any,
person?: unknown,
): {
by: string;
holder: string;
mechanisms: string[];
missing: boolean;
policy: string;
precedence: number;
secondFactors: string[];
}
-
Parameters
- fields: any
Optionalperson: unknown
Returns {
by: string;
holder: string;
mechanisms: string[];
missing: boolean;
policy: string;
precedence: number;
secondFactors: string[];
}
{ policy, by, holder, precedence, mechanisms, secondFactors, missing }: by is application, group or default
Resolves the named authentication policy that applies to a sign-in to its two lists: of the policy the application names and the policies the person's groups name, the lowest precedence (ties by name).