Skip to content

Commit faeb95c

Browse files
committed
PR Feedback
1 parent 0d9acb5 commit faeb95c

30 files changed

+158
-103
lines changed

common/api-review/auth-exp.api.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,17 @@ export class OAuthCredential extends AuthCredential implements externs.OAuthCred
427427
toJSON(): object;
428428
}
429429

430+
// @public
431+
export interface OAuthCredentialOptions {
432+
accessToken?: string;
433+
idToken?: string;
434+
rawNonce?: string;
435+
}
436+
430437
// @public
431438
export class OAuthProvider implements externs.AuthProvider {
432439
constructor(providerId: string);
433440
addScope(scope: string): externs.AuthProvider;
434-
// Warning: (ae-forgotten-export) The symbol "OAuthCredentialOptions" needs to be exported by the entry point index.d.ts
435441
credential(params: OAuthCredentialOptions): externs.OAuthCredential;
436442
// (undocumented)
437443
static credentialFromJSON(json: object | string): externs.OAuthCredential;

docs-exp/auth.getauth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## getAuth() function
66

7-
Initializes an Auth instance with default depedencies.
7+
Initializes an Auth instance with platform specific default dependencies.
88

99
<b>Signature:</b>
1010

docs-exp/auth.getredirectresult.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export declare function getRedirectResult(auth: externs.Auth, resolver?: externs
1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
1919
| auth | externs.[Auth](./auth-types.auth.md) | The Auth instance. |
20-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
20+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2121

2222
<b>Returns:</b>
2323

docs-exp/auth.linkwithpopup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare function linkWithPopup(user: externs.User, provider: externs.Auth
1818
| --- | --- | --- |
1919
| user | externs.[User](./auth-types.user.md) | The user. |
2020
| provider | externs.[AuthProvider](./auth-types.authprovider.md) | The provider to authenticate. The provider has to be an [OAuthProvider](./auth.oauthprovider.md)<!-- -->. Non-OAuth providers like [EmailAuthProvider](./auth.emailauthprovider.md) will throw an error. |
21-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
21+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2222

2323
<b>Returns:</b>
2424

docs-exp/auth.linkwithredirect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export declare function linkWithRedirect(user: externs.User, provider: externs.A
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
19-
| user | externs.[User](./auth-types.user.md) | The Auth instance. |
19+
| user | externs.[User](./auth-types.user.md) | The user. |
2020
| provider | externs.[AuthProvider](./auth-types.authprovider.md) | The provider to authenticate. The provider has to be an [OAuthProvider](./auth.oauthprovider.md)<!-- -->. Non-OAuth providers like [EmailAuthProvider](./auth.emailauthprovider.md) will throw an error. |
21-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
21+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2222

2323
<b>Returns:</b>
2424

docs-exp/auth.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
| [deleteUser(user)](./auth.deleteuser.md) | Deletes and signs out the user. |
4141
| [fetchSignInMethodsForEmail(auth, email)](./auth.fetchsigninmethodsforemail.md) | Gets the list of possible sign in methods for the given email address. |
4242
| [getAdditionalUserInfo(userCredential)](./auth.getadditionaluserinfo.md) | Extracts provider specific [AdditionalUserInfo](./auth-types.additionaluserinfo.md) for the given credential. |
43-
| [getAuth(app)](./auth.getauth.md) | Initializes an Auth instance with default depedencies. |
43+
| [getAuth(app)](./auth.getauth.md) | Initializes an Auth instance with platform specific default dependencies. |
4444
| [getIdToken(user, forceRefresh)](./auth.getidtoken.md) | Returns a JSON Web Token (JWT) used to identify the user to a Firebase service. |
4545
| [getIdTokenResult(user, forceRefresh)](./auth.getidtokenresult.md) | Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service. |
4646
| [getMultiFactorResolver(auth, error)](./auth.getmultifactorresolver.md) | Provides a [MultiFactorResolver](./auth-types.multifactorresolver.md) suitable for completion of a multi-factor flow. |
@@ -59,7 +59,7 @@
5959
| [reauthenticateWithPhoneNumber(user, phoneNumber, appVerifier)](./auth.reauthenticatewithphonenumber.md) | Re-authenticates a user using a fresh phne credential. |
6060
| [reauthenticateWithPopup(user, provider, resolver)](./auth.reauthenticatewithpopup.md) | Reauthenticates the current user with the specified [OAuthProvider](./auth.oauthprovider.md) using a pop-up based OAuth flow. |
6161
| [reauthenticateWithRedirect(user, provider, resolver)](./auth.reauthenticatewithredirect.md) | Reauthenticates the current user with the specified [OAuthProvider](./auth.oauthprovider.md) using a full-page redirect flow. |
62-
| [reload(user)](./auth.reload.md) | Refreshes the user, if signed in. |
62+
| [reload(user)](./auth.reload.md) | Reloads user account data, if signed in. |
6363
| [sendEmailVerification(user, actionCodeSettings)](./auth.sendemailverification.md) | Sends a verification email to a user. |
6464
| [sendPasswordResetEmail(auth, email, actionCodeSettings)](./auth.sendpasswordresetemail.md) | Sends a password reset email to the given email address. |
6565
| [sendSignInLinkToEmail(auth, email, actionCodeSettings)](./auth.sendsigninlinktoemail.md) | Sends a sign-in email link to the user with the specified email. |
@@ -83,6 +83,12 @@
8383
| [verifyBeforeUpdateEmail(user, newEmail, actionCodeSettings)](./auth.verifybeforeupdateemail.md) | Sends a verification email to a new email address. |
8484
| [verifyPasswordResetCode(auth, code)](./auth.verifypasswordresetcode.md) | Checks a password reset code sent to the user by email or other out-of-band mechanism. |
8585

86+
## Interfaces
87+
88+
| Interface | Description |
89+
| --- | --- |
90+
| [OAuthCredentialOptions](./auth.oauthcredentialoptions.md) | Defines the options for initializing an [OAuthCredential](./auth.oauthcredential.md)<!-- -->. |
91+
8692
## Variables
8793

8894
| Variable | Description |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthCredentialOptions](./auth.oauthcredentialoptions.md) &gt; [accessToken](./auth.oauthcredentialoptions.accesstoken.md)
4+
5+
## OAuthCredentialOptions.accessToken property
6+
7+
The OAuth access token used to initialize the [OAuthCredential](./auth.oauthcredential.md)<!-- -->.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
accessToken?: string;
13+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthCredentialOptions](./auth.oauthcredentialoptions.md) &gt; [idToken](./auth.oauthcredentialoptions.idtoken.md)
4+
5+
## OAuthCredentialOptions.idToken property
6+
7+
The OAuth ID token used to initialize the [OAuthCredential](./auth.oauthcredential.md)<!-- -->.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
idToken?: string;
13+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthCredentialOptions](./auth.oauthcredentialoptions.md)
4+
5+
## OAuthCredentialOptions interface
6+
7+
Defines the options for initializing an [OAuthCredential](./auth.oauthcredential.md)<!-- -->.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
export interface OAuthCredentialOptions
13+
```
14+
15+
## Remarks
16+
17+
For ID tokens with nonce claim, the raw nonce has to also be provided.
18+
19+
## Properties
20+
21+
| Property | Type | Description |
22+
| --- | --- | --- |
23+
| [accessToken](./auth.oauthcredentialoptions.accesstoken.md) | string | The OAuth access token used to initialize the [OAuthCredential](./auth.oauthcredential.md)<!-- -->. |
24+
| [idToken](./auth.oauthcredentialoptions.idtoken.md) | string | The OAuth ID token used to initialize the [OAuthCredential](./auth.oauthcredential.md)<!-- -->. |
25+
| [rawNonce](./auth.oauthcredentialoptions.rawnonce.md) | string | The raw nonce associated with the ID token. |
26+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthCredentialOptions](./auth.oauthcredentialoptions.md) &gt; [rawNonce](./auth.oauthcredentialoptions.rawnonce.md)
4+
5+
## OAuthCredentialOptions.rawNonce property
6+
7+
The raw nonce associated with the ID token.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
rawNonce?: string;
13+
```
14+
15+
## Remarks
16+
17+
It is required when an ID token with a nonce field is provided. The SHA-256 hash of the raw nonce must match the nonce field in the ID token.
18+

docs-exp/auth.oauthprovider.credential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ credential(params: OAuthCredentialOptions): externs.OAuthCredential;
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
19-
| params | OAuthCredentialOptions | Either the options object containing the ID token, access token and raw nonce or the ID token string. |
19+
| params | [OAuthCredentialOptions](./auth.oauthcredentialoptions.md) | Either the options object containing the ID token, access token and raw nonce or the ID token string. |
2020

2121
<b>Returns:</b>
2222

docs-exp/auth.oauthprovider.setcustomparameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ externs.[AuthProvider](./auth-types.authprovider.md)
2424

2525
## Remarks
2626

27-
For a detailed list, check the reserved required OAuth 2.0 parameters such as `client_id`<!-- -->, `redirect_uri`<!-- -->, `scope`<!-- -->, `response_type` and state are not allowed and will be ignored.
27+
For a detailed list, check the reserved required OAuth 2.0 parameters such as `client_id`<!-- -->, `redirect_uri`<!-- -->, `scope`<!-- -->, `response_type`<!-- -->, and `state` are not allowed and will be ignored.
2828

docs-exp/auth.reauthenticatewithpopup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare function reauthenticateWithPopup(user: externs.User, provider: ex
1818
| --- | --- | --- |
1919
| user | externs.[User](./auth-types.user.md) | The user. |
2020
| provider | externs.[AuthProvider](./auth-types.authprovider.md) | The provider to authenticate. The provider has to be an [OAuthProvider](./auth.oauthprovider.md)<!-- -->. Non-OAuth providers like [EmailAuthProvider](./auth.emailauthprovider.md) will throw an error. |
21-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
21+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2222

2323
<b>Returns:</b>
2424

docs-exp/auth.reauthenticatewithredirect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare function reauthenticateWithRedirect(user: externs.User, provider:
1818
| --- | --- | --- |
1919
| user | externs.[User](./auth-types.user.md) | The user. |
2020
| provider | externs.[AuthProvider](./auth-types.authprovider.md) | The provider to authenticate. The provider has to be an [OAuthProvider](./auth.oauthprovider.md)<!-- -->. Non-OAuth providers like [EmailAuthProvider](./auth.emailauthprovider.md) will throw an error. |
21-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
21+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2222

2323
<b>Returns:</b>
2424

docs-exp/auth.reload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## reload() function
66

7-
Refreshes the user, if signed in.
7+
Reloads user account data, if signed in.
88

99
<b>Signature:</b>
1010

docs-exp/auth.setpersistence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This makes it easy for a user signing in to specify whether their session should
3131

3232

3333
```javascript
34-
auth.setPersistence(browserSessionPersistence);
34+
setPersistence(auth, browserSessionPersistence);
3535

3636
```
3737

docs-exp/auth.signinwithphonenumber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For abuse prevention, this method also requires a [ApplicationVerifier](./auth-t
3636
```javascript
3737
// 'recaptcha-container' is the ID of an element in the DOM.
3838
const applicationVerifier = new firebase.auth.RecaptchaVerifier('recaptcha-container');
39-
const confirmationResult = await signInWithPhoneNumber(phoneNumber, applicationVerifier);
39+
const confirmationResult = await signInWithPhoneNumber(auth, phoneNumber, applicationVerifier);
4040
// Obtain a verificationCode from the user.
4141
const credential = await confirmationResult.confirm(verificationCode);
4242

docs-exp/auth.signinwithpopup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare function signInWithPopup(auth: externs.Auth, provider: externs.Au
1818
| --- | --- | --- |
1919
| auth | externs.[Auth](./auth-types.auth.md) | The Auth instance. |
2020
| provider | externs.[AuthProvider](./auth-types.authprovider.md) | The provider to authenticate. The provider has to be an [OAuthProvider](./auth.oauthprovider.md)<!-- -->. Non-OAuth providers like [EmailAuthProvider](./auth.emailauthprovider.md) will throw an error. |
21-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
21+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2222

2323
<b>Returns:</b>
2424

docs-exp/auth.signinwithredirect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare function signInWithRedirect(auth: externs.Auth, provider: externs
1818
| --- | --- | --- |
1919
| auth | externs.[Auth](./auth-types.auth.md) | The Auth instance. |
2020
| provider | externs.[AuthProvider](./auth-types.authprovider.md) | The provider to authenticate. The provider has to be an [OAuthProvider](./auth.oauthprovider.md)<!-- -->. Non-OAuth providers like [EmailAuthProvider](./auth.emailauthprovider.md) will throw an error. |
21-
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->. |
21+
| resolver | externs.[PopupRedirectResolver](./auth-types.popupredirectresolver.md) | An instance of [PopupRedirectResolver](./auth-types.popupredirectresolver.md)<!-- -->, optional if already supplied to [initializeAuth()](./auth.initializeauth.md) or provided by [getAuth()](./auth.getauth.md)<!-- -->. |
2222

2323
<b>Returns:</b>
2424

packages-exp/auth-exp/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export { browserPopupRedirectResolver } from './src/platform_browser/popup_redir
6464
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
6565

6666
/**
67-
* Initializes an Auth instance with default depedencies.
67+
* Initializes an Auth instance with platform specific default dependencies.
6868
*
6969
* @param app - The Firebase App.
7070
*

packages-exp/auth-exp/src/core/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export { AuthErrorCode } from './errors';
3333
*
3434
* @example
3535
* ```javascript
36-
* auth.setPersistence(browserSessionPersistence);
36+
* setPersistence(auth, browserSessionPersistence);
3737
* ```
3838
*
3939
* @param auth - The Auth instance.
@@ -148,7 +148,11 @@ export { EmailAuthProvider } from './providers/email';
148148
export { FacebookAuthProvider } from './providers/facebook';
149149
export { GoogleAuthProvider } from './providers/google';
150150
export { GithubAuthProvider } from './providers/github';
151-
export { OAuthProvider, CustomParameters } from './providers/oauth';
151+
export {
152+
OAuthProvider,
153+
CustomParameters,
154+
OAuthCredentialOptions
155+
} from './providers/oauth';
152156
export { TwitterAuthProvider } from './providers/twitter';
153157

154158
// strategies

packages-exp/auth-exp/src/core/providers/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class OAuthProvider implements externs.AuthProvider {
166166
*
167167
* @remarks
168168
* For a detailed list, check the reserved required OAuth 2.0 parameters such as `client_id`,
169-
* `redirect_uri`, `scope`, `response_type` and state are not allowed and will be ignored.
169+
* `redirect_uri`, `scope`, `response_type`, and `state` are not allowed and will be ignored.
170170
*
171171
* @param customOAuthParameters - The custom OAuth parameters to pass in the OAuth request.
172172
*/

packages-exp/auth-exp/src/core/user/reload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function _reloadWithoutSaving(user: User): Promise<void> {
6262
}
6363

6464
/**
65-
* Refreshes the user, if signed in.
65+
* Reloads user account data, if signed in.
6666
*
6767
* @param user - The user.
6868
*

packages-exp/auth-exp/src/model/application_verifier.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717

1818
import * as externs from '@firebase/auth-types-exp';
1919

20+
/** @internal */
2021
export interface ApplicationVerifier extends externs.ApplicationVerifier {
21-
/**
22-
* @internal
23-
*/
22+
/** @internal */
2423
_reset(): void;
2524
}

packages-exp/auth-exp/src/model/auth.ts

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export type ApiKey = string;
2727
/** @internal */
2828
export type AuthDomain = string;
2929

30-
/** {@inheritdoc @firebase/auth-types#Config} */
30+
/** @internal */
3131
export interface ConfigInternal extends externs.Config {
3232
/**
3333
* @internal
@@ -38,20 +38,17 @@ export interface ConfigInternal extends externs.Config {
3838
};
3939
}
4040

41-
/** {@inheritdoc @firebase/auth-types#Auth} */
41+
/** @internal */
4242
export interface Auth extends externs.Auth {
43-
/**
44-
* {@inheritdoc @firebase/auth-types#Auth.currentUser}
45-
* @readonly
46-
*/
43+
/** @internal */
4744
currentUser: externs.User | null;
4845
/** @internal */
4946
_canInitEmulator: boolean;
5047
/** @internal */
5148
_isInitialized: boolean;
5249
/** @internal */
5350
_initializationPromise: Promise<void> | null;
54-
/** {@inheritdoc @firebase/auth-types#Auth.updateCurrentUser} */
51+
/** @internal */
5552
_updateCurrentUser(user: User | null): Promise<void>;
5653

5754
/** @internal */
@@ -78,26 +75,20 @@ export interface Auth extends externs.Auth {
7875
_stopProactiveRefresh(): void;
7976
_getPersistence(): string;
8077

81-
/** {@inheritdoc @firebase/auth-types#Auth.name} */
78+
/** @internal */
8279
readonly name: AppName;
83-
/** {@inheritdoc @firebase/auth-types#Auth.config} */
80+
/** @internal */
8481
readonly config: ConfigInternal;
85-
/**
86-
* {@inheritdoc @firebase/auth-types#Auth.languageCode}
87-
* @readonly
88-
*/
82+
/** @internal */
8983
languageCode: string | null;
90-
/**
91-
* {@inheritdoc @firebase/auth-types#Auth.tenantId}
92-
* @readonly
93-
*/
84+
/** @internal */
9485
tenantId: string | null;
95-
/** {@inheritdoc @firebase/auth-types#Auth.settings} */
86+
/** @internal */
9687
readonly settings: externs.AuthSettings;
9788

98-
/** {@inheritdoc @firebase/auth-types#Auth.useDeviceLanguage} */
89+
/** @internal */
9990
useDeviceLanguage(): void;
100-
/** {@inheritdoc @firebase/auth-types#Auth.signOut} */
91+
/** @internal */
10192
signOut(): Promise<void>;
10293
}
10394

packages-exp/auth-exp/src/model/popup_redirect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface EventManager {
8181
unregisterConsumer(authEventConsumer: AuthEventConsumer): void;
8282
}
8383

84-
/** {@inheritdoc @firebase/auth-types#PopupRedirectResolver} */
84+
/** @internal */
8585
export interface PopupRedirectResolver extends externs.PopupRedirectResolver {
8686
/** @internal */
8787
_initialize(auth: Auth): Promise<EventManager>;

0 commit comments

Comments
 (0)