You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Throw Operation Not Allowed for Invalid Auth Endpoint (#9013) (#9019)
* Throw Operation Not Allowed for Invalid Auth Endpoint (#9013) (#9019)
* Implement exchangeToken public api
* Using expiry_in returned by backend
* Addressing review comments and adding some Unit test
* Docgen
* Addressing review comments and adding some Unit test
* Typo
* yarn docgen
* Fixing typo
* yarn run format
The [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) usedtoinitializeaRegionalAuth. Thisisonlypresentifregionalauthisinitializedandbackendendpointisused.
126
+
The [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) usedtoinitializeaRegionalAuth. Thisisonlypresentifregionalauthisinitializedand`DefaultConfig.REGIONAL_API_HOST`backendendpointisused.
The [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) touse. Thisdependencyisonlyrequiredifyouwanttouseregionalauthwhichworkswithendpoint. Itshouldnotbesetotherwise.
68
+
The [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) touse. Thisdependencyisonlyrequiredifyouwanttouseregionalauthwhichworkswith`DefaultConfig.REGIONAL_API_HOST`endpoint. Itshouldnotbesetotherwise.
Copy file name to clipboardExpand all lines: docs-devsite/auth.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ Firebase Authentication
28
28
|[confirmPasswordReset(auth, oobCode, newPassword)](./auth.md#confirmpasswordreset_749dad8)| Completes the password reset process, given a confirmation code and new password. |
29
29
|[connectAuthEmulator(auth, url, options)](./auth.md#connectauthemulator_657c7e5)| Changes the [Auth](./auth.auth.md#auth_interface) instance to communicate with the Firebase Auth Emulator, instead of production Firebase Auth services. |
30
30
|[createUserWithEmailAndPassword(auth, email, password)](./auth.md#createuserwithemailandpassword_21ad33b)| Creates a new user account associated with the specified email address and password. |
31
+
|[exchangeToken(auth, idpConfigId, customToken)](./auth.md#exchangetoken_b6b1871)| Asynchronously exchanges an OIDC provider's Authorization code or Id Token for a Firebase Token. |
31
32
|[fetchSignInMethodsForEmail(auth, email)](./auth.md#fetchsigninmethodsforemail_efb3887)| Gets the list of possible sign in methods for the given email address. This method returns an empty list when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, irrespective of the number of authentication methods available for the given email. |
32
33
|[getMultiFactorResolver(auth, error)](./auth.md#getmultifactorresolver_201ba61)| Provides a [MultiFactorResolver](./auth.multifactorresolver.md#multifactorresolver_interface) suitable for completion of a multi-factor flow. |
33
34
|[getRedirectResult(auth, resolver)](./auth.md#getredirectresult_c35dc1f)| Returns a [UserCredential](./auth.usercredential.md#usercredential_interface) from the redirect-based sign-in flow. |
Asynchronously exchanges an OIDC provider's Authorization code or Id Token for a Firebase Token.
412
+
413
+
This method is implemented only for `DefaultConfig.REGIONAL_API_HOST` and requires [TenantConfig](./auth.tenantconfig.md#tenantconfig_interface) to be configured in the [Auth](./auth.auth.md#auth_interface) instance used.
414
+
415
+
Fails with an error if the token is invalid, expired, or not accepted by the Firebase Auth service.
Gets the list of possible sign in methods for the given email address. This method returns an empty list when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, irrespective of the number of authentication methods available for the given email.
0 commit comments