File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export interface PasswordPolicy
23
23
| Property | Type | Description |
24
24
| --- | --- | --- |
25
25
| [allowedNonAlphanumericCharacters ](./auth .passwordpolicy .md #passwordpolicyallowednonalphanumericcharacters ) | string \[\] | List of characters that are considered non -alphanumeric during validation . |
26
- | [customStrengthOptions ](./auth .passwordpolicy .md #passwordpolicycustomstrengthoptions ) | { readonly minPasswordLength ? : number ; readonly maxPasswordLength ? : number ; readonly containsLowercaseLetter ? : boolean ; readonly containsUppercaseLetter ? : boolean ; readonly containsNumericCharacter ? : boolean ; readonly containsNonAlphanumericCharacter ? : boolean ; } | Requirements enforced by this password policy . |
26
+ | [customStrengthOptions ](./auth .passwordpolicy .md #passwordpolicycustomstrengthoptions ) | PasswordPolicyCustomStrengthOptions | Requirements enforced by this password policy . |
27
27
28
28
## PasswordPolicy .allowedNonAlphanumericCharacters
29
29
@@ -32,7 +32,7 @@ List of characters that are considered non-alphanumeric during validation.
32
32
<b >Signature :</b >
33
33
34
34
```typescript
35
- readonly allowedNonAlphanumericCharacters: string[];
35
+ readonly allowedNonAlphanumericCharacters ? : string [];
36
36
```
37
37
38
38
## PasswordPolicy .customStrengthOptions
@@ -42,12 +42,5 @@ Requirements enforced by this password policy.
42
42
<b >Signature :</b >
43
43
44
44
```typescript
45
- readonly customStrengthOptions: {
46
- readonly minPasswordLength?: number;
47
- readonly maxPasswordLength?: number;
48
- readonly containsLowercaseLetter?: boolean;
49
- readonly containsUppercaseLetter?: boolean;
50
- readonly containsNumericCharacter?: boolean;
51
- readonly containsNonAlphanumericCharacter?: boolean;
52
- };
45
+ readonly customStrengthOptions : PasswordPolicyCustomStrengthOptions ;
53
46
```
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import { PasswordPolicy , PasswordValidationStatus } from " ./public_types" ;
18
+ import { PasswordPolicy , PasswordValidationStatus } from ' ./public_types' ;
19
19
20
20
/**
21
21
* Custom strength options supported in the password policy.
@@ -68,11 +68,12 @@ export interface PasswordPolicyInternal extends PasswordPolicy {
68
68
69
69
/**
70
70
* Internal typing of password validation status that is modifiable. This allows us to
71
- * construct the validation status before returning it
72
- *
71
+ * construct the validation status before returning it.
72
+ *
73
73
* @internal
74
74
*/
75
- export interface PasswordValidationStatusInternal extends PasswordValidationStatus {
75
+ export interface PasswordValidationStatusInternal
76
+ extends PasswordValidationStatus {
76
77
/**
77
78
* Whether the password meets all requirements.
78
79
*/
You can’t perform that action at this time.
0 commit comments