Interface PasswordPolicy

interface PasswordPolicy {
    complexity: {
        character_type_rule: "all" | "three_of_four";
        character_types: ("number" | "uppercase" | "lowercase" | "special")[];
        identical_characters: "allow" | "block";
        max_length_exceeded: "error" | "truncate";
        min_length: number;
        sequential_characters: "allow" | "block";
    };
    dictionary: {
        active: boolean;
        default: "en_10k" | "en_100k";
    };
    history: {
        active: boolean;
        size: number;
    };
    profile_data: {
        active: boolean;
        blocked_fields: string[];
    };
}

Properties

complexity: {
    character_type_rule: "all" | "three_of_four";
    character_types: ("number" | "uppercase" | "lowercase" | "special")[];
    identical_characters: "allow" | "block";
    max_length_exceeded: "error" | "truncate";
    min_length: number;
    sequential_characters: "allow" | "block";
}

Type declaration

  • character_type_rule: "all" | "three_of_four"
  • character_types: ("number" | "uppercase" | "lowercase" | "special")[]
  • identical_characters: "allow" | "block"
  • max_length_exceeded: "error" | "truncate"
  • min_length: number
  • sequential_characters: "allow" | "block"
dictionary: {
    active: boolean;
    default: "en_10k" | "en_100k";
}

Type declaration

  • active: boolean
  • default: "en_10k" | "en_100k"
history: {
    active: boolean;
    size: number;
}

Type declaration

  • active: boolean
  • size: number
profile_data: {
    active: boolean;
    blocked_fields: string[];
}

Type declaration

  • active: boolean
  • blocked_fields: string[]