-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
3,727 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@firebase/firestore': patch | ||
--- | ||
|
||
Update @grpc/proto-loader from v0.6.13 to v0.7.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@firebase/auth': patch | ||
--- | ||
|
||
Fix auth event uncancellable bug #7383 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@firebase/firestore": patch | ||
--- | ||
|
||
Refactored aggregate query order-by normalization to support future aggregate operations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@firebase/auth': patch | ||
--- | ||
|
||
Raise error if calling initializeRecaptchaConfig in node env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@firebase/auth': minor | ||
'firebase': minor | ||
--- | ||
|
||
Add a validatePassword method for validating passwords against the password policy configured for the project or a tenant. This method returns a status object that can be used to display the requirements of the password policy and whether each one was met. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
Project: /docs/reference/js/_project.yaml | ||
Book: /docs/reference/_book.yaml | ||
page_type: reference | ||
|
||
{% comment %} | ||
DO NOT EDIT THIS FILE! | ||
This is generated by the JS SDK team, and any local changes will be | ||
overwritten. Changes should be made in the source code at | ||
https://github.com/firebase/firebase-js-sdk | ||
{% endcomment %} | ||
|
||
# PasswordPolicy interface | ||
A structure specifying password policy requirements. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface PasswordPolicy | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [allowedNonAlphanumericCharacters](./auth.passwordpolicy.md#passwordpolicyallowednonalphanumericcharacters) | string | List of characters that are considered non-alphanumeric during validation. | | ||
| [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. | | ||
| [enforcementState](./auth.passwordpolicy.md#passwordpolicyenforcementstate) | string | The enforcement state of the policy. Can be 'OFF' or 'ENFORCE'. | | ||
| [forceUpgradeOnSignin](./auth.passwordpolicy.md#passwordpolicyforceupgradeonsignin) | boolean | Whether existing passwords must meet the policy. | | ||
|
||
## PasswordPolicy.allowedNonAlphanumericCharacters | ||
|
||
List of characters that are considered non-alphanumeric during validation. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly allowedNonAlphanumericCharacters: string; | ||
``` | ||
|
||
## PasswordPolicy.customStrengthOptions | ||
|
||
Requirements enforced by this password policy. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly customStrengthOptions: { | ||
readonly minPasswordLength?: number; | ||
readonly maxPasswordLength?: number; | ||
readonly containsLowercaseLetter?: boolean; | ||
readonly containsUppercaseLetter?: boolean; | ||
readonly containsNumericCharacter?: boolean; | ||
readonly containsNonAlphanumericCharacter?: boolean; | ||
}; | ||
``` | ||
|
||
## PasswordPolicy.enforcementState | ||
|
||
The enforcement state of the policy. Can be 'OFF' or 'ENFORCE'. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly enforcementState: string; | ||
``` | ||
|
||
## PasswordPolicy.forceUpgradeOnSignin | ||
|
||
Whether existing passwords must meet the policy. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly forceUpgradeOnSignin: boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
Project: /docs/reference/js/_project.yaml | ||
Book: /docs/reference/_book.yaml | ||
page_type: reference | ||
|
||
{% comment %} | ||
DO NOT EDIT THIS FILE! | ||
This is generated by the JS SDK team, and any local changes will be | ||
overwritten. Changes should be made in the source code at | ||
https://github.com/firebase/firebase-js-sdk | ||
{% endcomment %} | ||
|
||
# PasswordValidationStatus interface | ||
A structure indicating which password policy requirements were met or violated and what the requirements are. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface PasswordValidationStatus | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [containsLowercaseLetter](./auth.passwordvalidationstatus.md#passwordvalidationstatuscontainslowercaseletter) | boolean | Whether the password contains a lowercase letter, or undefined if not required. | | ||
| [containsNonAlphanumericCharacter](./auth.passwordvalidationstatus.md#passwordvalidationstatuscontainsnonalphanumericcharacter) | boolean | Whether the password contains a non-alphanumeric character, or undefined if not required. | | ||
| [containsNumericCharacter](./auth.passwordvalidationstatus.md#passwordvalidationstatuscontainsnumericcharacter) | boolean | Whether the password contains a numeric character, or undefined if not required. | | ||
| [containsUppercaseLetter](./auth.passwordvalidationstatus.md#passwordvalidationstatuscontainsuppercaseletter) | boolean | Whether the password contains an uppercase letter, or undefined if not required. | | ||
| [isValid](./auth.passwordvalidationstatus.md#passwordvalidationstatusisvalid) | boolean | Whether the password meets all requirements. | | ||
| [meetsMaxPasswordLength](./auth.passwordvalidationstatus.md#passwordvalidationstatusmeetsmaxpasswordlength) | boolean | Whether the password meets the maximum password length, or undefined if not required. | | ||
| [meetsMinPasswordLength](./auth.passwordvalidationstatus.md#passwordvalidationstatusmeetsminpasswordlength) | boolean | Whether the password meets the minimum password length, or undefined if not required. | | ||
| [passwordPolicy](./auth.passwordvalidationstatus.md#passwordvalidationstatuspasswordpolicy) | [PasswordPolicy](./auth.passwordpolicy.md#passwordpolicy_interface) | The policy used to validate the password. | | ||
|
||
## PasswordValidationStatus.containsLowercaseLetter | ||
|
||
Whether the password contains a lowercase letter, or undefined if not required. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly containsLowercaseLetter?: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.containsNonAlphanumericCharacter | ||
|
||
Whether the password contains a non-alphanumeric character, or undefined if not required. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly containsNonAlphanumericCharacter?: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.containsNumericCharacter | ||
|
||
Whether the password contains a numeric character, or undefined if not required. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly containsNumericCharacter?: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.containsUppercaseLetter | ||
|
||
Whether the password contains an uppercase letter, or undefined if not required. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly containsUppercaseLetter?: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.isValid | ||
|
||
Whether the password meets all requirements. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly isValid: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.meetsMaxPasswordLength | ||
|
||
Whether the password meets the maximum password length, or undefined if not required. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly meetsMaxPasswordLength?: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.meetsMinPasswordLength | ||
|
||
Whether the password meets the minimum password length, or undefined if not required. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly meetsMinPasswordLength?: boolean; | ||
``` | ||
|
||
## PasswordValidationStatus.passwordPolicy | ||
|
||
The policy used to validate the password. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly passwordPolicy: PasswordPolicy; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.