@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
24 lines • 1.08 kB
TypeScript
/** A structure describing the current password policy for your Dedicated Cloud */
export interface PasswordPolicy {
/** List of denied characters in the password */
deniedChars: string[];
/** Whether or not a digit (0-9) is mandatory in the password */
digitMandatory: boolean;
/** Number of previous passwords to keep */
historyCheck: number;
/** Whether or not a letter (a-z or A-Z) is mandatory in the password */
letterMandatory: boolean;
/** Whether or not a lowercase letter (a-z) is mandatory in the password */
lowercaseLetterMandatory: boolean;
/** Maximum lenght of the password */
maxLength: number;
/** Minimum lenght of the password */
minLength: number;
/** Whether or not a special character (\W or _) is mandatory in the password */
specialMandatory: boolean;
/** Whether or not an uppercase letter (A-Z) is mandatory in the password */
uppercaseLetterMandatory: boolean;
/** Password validity period (in days) */
validityPeriod: number;
}
//# sourceMappingURL=PasswordPolicy.d.ts.map