From 5229a46be245183d85a9b029c31e661f7b5b4ac3 Mon Sep 17 00:00:00 2001 From: Jonathan Shaffer Date: Wed, 26 Apr 2023 17:00:34 -0400 Subject: [PATCH] spellcheck identify --- docs-devsite/auth.md | 4 ++-- docs-devsite/auth.user.md | 4 ++-- packages/auth/src/core/action_code_url.test.ts | 12 ++++++------ packages/auth/src/core/user/id_token_result.ts | 2 +- packages/auth/src/model/public_types.ts | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs-devsite/auth.md b/docs-devsite/auth.md index 58af71f3560..1d9598ce7cd 100644 --- a/docs-devsite/auth.md +++ b/docs-devsite/auth.md @@ -55,7 +55,7 @@ Firebase Authentication | function(user...) | | [deleteUser(user)](./auth.md#deleteuser) | Deletes and signs out the user. | | [getIdToken(user, forceRefresh)](./auth.md#getidtoken) | Returns a JSON Web Token (JWT) used to identify the user to a Firebase service. | -| [getIdTokenResult(user, forceRefresh)](./auth.md#getidtokenresult) | Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. | +| [getIdTokenResult(user, forceRefresh)](./auth.md#getidtokenresult) | Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service. | | [linkWithCredential(user, credential)](./auth.md#linkwithcredential) | Links the user account with the given credentials. | | [linkWithPhoneNumber(user, phoneNumber, appVerifier)](./auth.md#linkwithphonenumber) | Links the user account with the given phone number. | | [linkWithPopup(user, provider, resolver)](./auth.md#linkwithpopup) | Links the authenticated provider to the user account using a pop-up based OAuth flow. | @@ -1156,7 +1156,7 @@ Promise<string> ## getIdTokenResult() -Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. +Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service. Returns the current token if it has not expired or if it will not expire in the next five minutes. Otherwise, this will refresh the token and return a new one. diff --git a/docs-devsite/auth.user.md b/docs-devsite/auth.user.md index 18a56a45901..04c74fa8d8b 100644 --- a/docs-devsite/auth.user.md +++ b/docs-devsite/auth.user.md @@ -36,7 +36,7 @@ export interface User extends UserInfo | --- | --- | | [delete()](./auth.user.md#userdelete) | Deletes and signs out the user. | | [getIdToken(forceRefresh)](./auth.user.md#usergetidtoken) | Returns a JSON Web Token (JWT) used to identify the user to a Firebase service. | -| [getIdTokenResult(forceRefresh)](./auth.user.md#usergetidtokenresult) | Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. | +| [getIdTokenResult(forceRefresh)](./auth.user.md#usergetidtokenresult) | Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service. | | [reload()](./auth.user.md#userreload) | Refreshes the user, if signed in. | | [toJSON()](./auth.user.md#usertojson) | Returns a JSON-serializable representation of this object. | @@ -154,7 +154,7 @@ Promise<string> ## User.getIdTokenResult() -Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. +Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service. Returns the current token if it has not expired or if it will not expire in the next five minutes. Otherwise, this will refresh the token and return a new one. diff --git a/packages/auth/src/core/action_code_url.test.ts b/packages/auth/src/core/action_code_url.test.ts index 9896886f593..1f85fd94cc4 100644 --- a/packages/auth/src/core/action_code_url.test.ts +++ b/packages/auth/src/core/action_code_url.test.ts @@ -42,7 +42,7 @@ describe('core/action_code_url', () => { }); context('operation', () => { - it('should identitfy EMAIL_SIGNIN', () => { + it('should identify EMAIL_SIGNIN', () => { const actionLink = 'https://www.example.com/finishSignIn?' + 'oobCode=CODE&mode=signIn&apiKey=API_KEY&' + @@ -53,7 +53,7 @@ describe('core/action_code_url', () => { ); }); - it('should identitfy VERIFY_AND_CHANGE_EMAIL', () => { + it('should identify VERIFY_AND_CHANGE_EMAIL', () => { const actionLink = 'https://www.example.com/finishSignIn?' + 'oobCode=CODE&mode=verifyAndChangeEmail&apiKey=API_KEY&' + @@ -64,7 +64,7 @@ describe('core/action_code_url', () => { ); }); - it('should identitfy VERIFY_EMAIL', () => { + it('should identify VERIFY_EMAIL', () => { const actionLink = 'https://www.example.com/finishSignIn?' + 'oobCode=CODE&mode=verifyEmail&apiKey=API_KEY&' + @@ -75,7 +75,7 @@ describe('core/action_code_url', () => { ); }); - it('should identitfy RECOVER_EMAIL', () => { + it('should identify RECOVER_EMAIL', () => { const actionLink = 'https://www.example.com/finishSignIn?' + 'oobCode=CODE&mode=recoverEmail&apiKey=API_KEY&' + @@ -86,7 +86,7 @@ describe('core/action_code_url', () => { ); }); - it('should identitfy PASSWORD_RESET', () => { + it('should identify PASSWORD_RESET', () => { const actionLink = 'https://www.example.com/finishSignIn?' + 'oobCode=CODE&mode=resetPassword&apiKey=API_KEY&' + @@ -97,7 +97,7 @@ describe('core/action_code_url', () => { ); }); - it('should identitfy REVERT_SECOND_FACTOR_ADDITION', () => { + it('should identify REVERT_SECOND_FACTOR_ADDITION', () => { const actionLink = 'https://www.example.com/finishSignIn?' + 'oobCode=CODE&mode=revertSecondFactorAddition&apiKey=API_KEY&' + diff --git a/packages/auth/src/core/user/id_token_result.ts b/packages/auth/src/core/user/id_token_result.ts index a1fadc55505..3e07f36f449 100644 --- a/packages/auth/src/core/user/id_token_result.ts +++ b/packages/auth/src/core/user/id_token_result.ts @@ -41,7 +41,7 @@ export function getIdToken(user: User, forceRefresh = false): Promise { } /** - * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. + * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service. * * @remarks * Returns the current token if it has not expired or if it will not expire in the next five diff --git a/packages/auth/src/model/public_types.ts b/packages/auth/src/model/public_types.ts index 8009d2714b0..52e53c666f5 100644 --- a/packages/auth/src/model/public_types.ts +++ b/packages/auth/src/model/public_types.ts @@ -1009,7 +1009,7 @@ export interface User extends UserInfo { */ getIdToken(forceRefresh?: boolean): Promise; /** - * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. + * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service. * * @remarks * Returns the current token if it has not expired or if it will not expire in the next five