UNPKG

@aurahelper/xml-definitions

Version:

Powerfull Libraries to get the XML Definitions of ALL XML Salesforce Metadata Files. Support All API Versions up to API 53.0. You can get the definition of one or more XML files for a specific version of Salesforce. For Example: You can get the XML Defini

71 lines 3.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProfilePasswordPolicy = void 0; var core_1 = require("@aurahelper/core"); exports.ProfilePasswordPolicy = { forgotPasswordRedirect: new core_1.BooleanXMLField('forgotPasswordRedirect', 'Forgot Password Redirect') .setMinApi(43) .setEditable() .setDefaultValue(false), lockoutInterval: new core_1.EnumXMLField('lockoutInterval', 'Lockout Interval') .setMinApi(40) .setEditable() .setRequired() .addEnumValue('None', '0') .addEnumValue('15 Minutes', '15') .addEnumValue('30 Minutes', '30') .addEnumValue('60 Minutes', '60'), maxLoginAttempts: new core_1.EnumXMLField('maxLoginAttempts', 'Max Login Attempts') .setMinApi(40) .setEditable() .setRequired() .addEnumValue('None', '0') .addEnumValue('3 Times', '3') .addEnumValue('5 Times', '5') .addEnumValue('10 Times', '10'), minimumPasswordLength: new core_1.IntegerXMLField('minimumPasswordLength', 'Minimum Password Length') .setMinApi(40) .setEditable() .setRequired() .setMinValue(5) .setMaxValue(50), minimumPasswordLifetime: new core_1.BooleanXMLField('minimumPasswordLifetime', 'Minimum Password Lifetime') .setMinApi(40) .setEditable(), obscure: new core_1.BooleanXMLField('obscure', 'Obscure') .setMinApi(40) .setEditable(), passwordComplexity: new core_1.EnumXMLField('passwordComplexity', 'Password Complexity') .setMinApi(40) .setEditable() .setRequired() .addEnumValue('Password can contain any type of character', '0') .addEnumValue('Password must contain at least one alphabetic character and 1 number', '1') .addEnumValue('Password must contain at least one alphabetic character, one number, and one of the following special characters: ! # $ % - _ = + < >', '2') .addEnumValue('Password must contain at least one number, one uppercase letter, and one lowercase letter', '3') .addEnumValue('Password must contain at least one number, one uppercase letter, one lowercase letter, and one of the following special characters: ! # $ % - _ = + < >', '4'), passwordExpiration: new core_1.EnumXMLField('passwordExpiration', 'Password Expiration') .setMinApi(40) .setEditable() .setRequired() .addEnumValue('Never', '0') .addEnumValue('30 Days', '30') .addEnumValue('60 Days', '60') .addEnumValue('90 Days', '90') .addEnumValue('360 Days', '360') .addDependencyField(new core_1.XMLDependencyField('passwordHistory', '0', '0')), passwordHistory: new core_1.IntegerXMLField('passwordHistory', 'Password History') .setMinApi(40) .setEditable() .setRequired(), passwordQuestion: new core_1.EnumXMLField('passwordQuestion', 'Password Question') .setMinApi(40) .setEditable() .addEnumValue('Password hint cannot contain the password', '0') .addEnumValue('No Restrictions', '1'), profile: new core_1.StringXMLField('profile', 'Profile') .setMinApi(40) .setEditable() .setMetadataType(core_1.MetadataTypes.PROFILE) }; //# sourceMappingURL=profilePasswordPolicy.js.map