SiPasswordStrengthDirective documentation¶
import { SiPasswordStrengthDirective } from '@siemens/element-ng/password-strength'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| siPasswordStrength ¶ | PasswordPolicy | { minLength: 8, uppercase: true, lowercase: true, digits: true, special: true } | Define Siemens password strength. |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| passwordStrengthChanged ¶ | number | void | Output callback event called when the password changes. The number indicated the number of rules which still can be met. ( |
Types Documentation¶
Whether to allow whitespaces. By default whitespaces are not allowed. allowWhitespace ? : Define if digits are required in password. Define if lowercase characters are required in password. Define minimal number of characters. Minimum required policies for valid password. When set to a number greater than 0, defines the number of policies that must be met for the password to be valid. E.g. when set to 3 and the policies uppercase/lowercase/digits/special are all set and the password contains 3 out of these four, the password will be valid. Define if special characters are required in password. Define if uppercase characters are required in password.import type { PasswordPolicy } from '@siemens/element-ng/password-strength';
boolean ¶
Except where otherwise noted, content on this site is licensed under MIT License.