Skip to content

Commit 99635b2

Browse files
committed
git
1 parent 77dedfa commit 99635b2

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

common/api-review/auth.api.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ export interface Dependencies {
316316
errorMap?: AuthErrorMap;
317317
persistence?: Persistence | Persistence[];
318318
popupRedirectResolver?: PopupRedirectResolver;
319+
tenantConfig?: TenantConfig;
319320
}
320321

321322
// @public
@@ -795,6 +796,12 @@ export function signInWithRedirect(auth: Auth, provider: AuthProvider, resolver?
795796
// @public
796797
export function signOut(auth: Auth): Promise<void>;
797798

799+
// @public
800+
export interface TenantConfig {
801+
location?: string;
802+
tenantId?: string;
803+
}
804+
798805
// @public
799806
export interface TotpMultiFactorAssertion extends MultiFactorAssertion {
800807
}

docs-devsite/_toc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ toc:
155155
path: /docs/reference/js/auth.recaptchaverifier.md
156156
- title: SAMLAuthProvider
157157
path: /docs/reference/js/auth.samlauthprovider.md
158+
- title: TenantConfig
159+
path: /docs/reference/js/auth.tenantconfig.md
158160
- title: TotpMultiFactorAssertion
159161
path: /docs/reference/js/auth.totpmultifactorassertion.md
160162
- title: TotpMultiFactorGenerator

docs-devsite/auth.dependencies.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export interface Dependencies
2929
| [errorMap](./auth.dependencies.md#dependencieserrormap) | [AuthErrorMap](./auth.autherrormap.md#autherrormap_interface) | Which [AuthErrorMap](./auth.autherrormap.md#autherrormap_interface) to use. |
3030
| [persistence](./auth.dependencies.md#dependenciespersistence) | [Persistence](./auth.persistence.md#persistence_interface) \| [Persistence](./auth.persistence.md#persistence_interface)<!-- -->\[\] | Which [Persistence](./auth.persistence.md#persistence_interface) to use. If this is an array, the first <code>Persistence</code> that the device supports is used. The SDK searches for an existing account in order and, if one is found in a secondary <code>Persistence</code>, the account is moved to the primary <code>Persistence</code>.<!-- -->If no persistence is provided, the SDK falls back on [inMemoryPersistence](./auth.md#inmemorypersistence)<!-- -->. |
3131
| [popupRedirectResolver](./auth.dependencies.md#dependenciespopupredirectresolver) | [PopupRedirectResolver](./auth.popupredirectresolver.md#popupredirectresolver_interface) | The [PopupRedirectResolver](./auth.popupredirectresolver.md#popupredirectresolver_interface) to use. This value depends on the platform. Options are [browserPopupRedirectResolver](./auth.md#browserpopupredirectresolver) and [cordovaPopupRedirectResolver](./auth.md#cordovapopupredirectresolver)<!-- -->. This field is optional if neither [signInWithPopup()](./auth.md#signinwithpopup_770f816) or [signInWithRedirect()](./auth.md#signinwithredirect_770f816) are being used. |
32+
| [tenantConfig](./auth.dependencies.md#dependenciestenantconfig) | [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) | The [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) to use. This field is optional and required if Regional Auth Instance needs to be configured. The Auth instance depends on the endpoint. |
3233

3334
## Dependencies.errorMap
3435

@@ -61,3 +62,13 @@ The [PopupRedirectResolver](./auth.popupredirectresolver.md#popupredirectresolve
6162
```typescript
6263
popupRedirectResolver?: PopupRedirectResolver;
6364
```
65+
66+
## Dependencies.tenantConfig
67+
68+
The [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) to use. This field is optional and required if Regional Auth Instance needs to be configured. The Auth instance depends on the endpoint.
69+
70+
<b>Signature:</b>
71+
72+
```typescript
73+
tenantConfig?: TenantConfig;
74+
```

docs-devsite/auth.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Firebase Authentication
137137
| [PopupRedirectResolver](./auth.popupredirectresolver.md#popupredirectresolver_interface) | A resolver used for handling DOM specific operations like [signInWithPopup()](./auth.md#signinwithpopup_770f816) or [signInWithRedirect()](./auth.md#signinwithredirect_770f816)<!-- -->. |
138138
| [ReactNativeAsyncStorage](./auth.reactnativeasyncstorage.md#reactnativeasyncstorage_interface) | Interface for a supplied <code>AsyncStorage</code>. |
139139
| [RecaptchaParameters](./auth.recaptchaparameters.md#recaptchaparameters_interface) | Interface representing reCAPTCHA parameters.<!-- -->See the [reCAPTCHA docs](https://developers.google.com/recaptcha/docs/display#render_param) for the list of accepted parameters. All parameters are accepted except for <code>sitekey</code>: Firebase Auth provisions a reCAPTCHA for each project and will configure the site key upon rendering.<!-- -->For an invisible reCAPTCHA, set the <code>size</code> key to <code>invisible</code>. |
140+
| [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) | The tenant config that can be used to initialize a Regional [Auth](./auth.auth.md#auth_interface) instance. |
140141
| [TotpMultiFactorAssertion](./auth.totpmultifactorassertion.md#totpmultifactorassertion_interface) | The class for asserting ownership of a TOTP second factor. Provided by [TotpMultiFactorGenerator.assertionForEnrollment()](./auth.totpmultifactorgenerator.md#totpmultifactorgeneratorassertionforenrollment) and [TotpMultiFactorGenerator.assertionForSignIn()](./auth.totpmultifactorgenerator.md#totpmultifactorgeneratorassertionforsignin)<!-- -->. |
141142
| [TotpMultiFactorInfo](./auth.totpmultifactorinfo.md#totpmultifactorinfo_interface) | The subclass of the [MultiFactorInfo](./auth.multifactorinfo.md#multifactorinfo_interface) interface for TOTP second factors. The <code>factorId</code> of this second factor is [FactorId](./auth.md#factorid)<!-- -->.TOTP. |
142143
| [User](./auth.user.md#user_interface) | A user account. |

0 commit comments

Comments
 (0)