Skip to content

Commit

Permalink
spellcheck identify (#7269)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonshaffer authored May 1, 2023
1 parent e0551fa commit 92e2279
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs-devsite/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Firebase Authentication
| <b>function(user...)</b> |
| [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. |
Expand Down Expand Up @@ -1156,7 +1156,7 @@ Promise&lt;string&gt;

## 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.

Expand Down
4 changes: 2 additions & 2 deletions docs-devsite/auth.user.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down Expand Up @@ -154,7 +154,7 @@ Promise&lt;string&gt;
## 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.
Expand Down
12 changes: 6 additions & 6 deletions packages/auth/src/core/action_code_url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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&' +
Expand All @@ -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&' +
Expand All @@ -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&' +
Expand All @@ -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&' +
Expand All @@ -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&' +
Expand All @@ -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&' +
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/core/user/id_token_result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function getIdToken(user: User, forceRefresh = false): Promise<string> {
}

/**
* 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
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/model/public_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ export interface User extends UserInfo {
*/
getIdToken(forceRefresh?: boolean): Promise<string>;
/**
* 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
Expand Down

0 comments on commit 92e2279

Please sign in to comment.