docs/interfaces/management.Management.Rule.html
interface Rule {
name?: string;
id?: string;
enabled?: boolean;
script?: string;
order?: number;
stage?: string;
}
name?id?enabled?script?order?stage?
Optionalnamename?: string
Name of this rule.
Optionalidid?: string
ID of this rule.
Optionalenabledenabled?: boolean
Whether the rule is enabled (true), or disabled (false).
Optionalscriptscript?: string
Code to be executed when this rule runs.
Optionalorderorder?: number
Order that this rule should execute in relative to other rules. Lower-valued rules execute first.
Optionalstagestage?: string
Execution stage of this rule. Can be login_success, login_failure, or pre_authorize.
Member Visibility
ThemeOSLightDark