Skip to content

Commit b016dc3

Browse files
committed
Add phone factor ID to the PhoneMultiFactorGenerator object
1 parent cd9ca9b commit b016dc3

File tree

1 file changed

+5
-0
lines changed
  • packages/auth/src/platform_browser/mfa/assertions

1 file changed

+5
-0
lines changed

packages/auth/src/platform_browser/mfa/assertions/phone.ts

+5
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,9 @@ export class PhoneMultiFactorGenerator {
9090
static assertion(credential: PhoneAuthCredential): PhoneMultiFactorAssertion {
9191
return PhoneMultiFactorAssertionImpl._fromCredential(credential);
9292
}
93+
94+
/**
95+
* The identifier of the phone second factor: `phone`.
96+
*/
97+
static FACTOR_ID = 'phone';
9398
}

0 commit comments

Comments
 (0)