Skip to content

Commit 8f9df45

Browse files
committed
refactor(auth): Refactor firebase.auth.Auth instantiation
1 parent 12aea32 commit 8f9df45

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

externs/firebase-auth-externs.js

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,19 @@ firebase.User.prototype.delete = function() {};
712712
*/
713713
firebase.User.prototype.toJSON = function() {};
714714

715+
/**
716+
* The Firebase Auth service interface.
717+
*
718+
* Do not call this constructor directly. Instead, use
719+
* {@link firebase.auth `firebase.auth()`}.
720+
*
721+
* See
722+
* {@link https://firebase.google.com/docs/auth/ Firebase Authentication}
723+
* for a full guide on how to use the Firebase Auth service.
724+
*
725+
* @interface
726+
*/
727+
firebase.auth.Auth = function() {};
715728

716729
/**
717730
* Checks a password reset code sent to the user by email or other out-of-band
@@ -854,20 +867,6 @@ firebase.auth.Auth.prototype.checkActionCode = function(code) {};
854867
*/
855868
firebase.auth.Auth.prototype.applyActionCode = function(code) {};
856869

857-
/**
858-
* The Firebase Auth service interface.
859-
*
860-
* Do not call this constructor directly. Instead, use
861-
* {@link firebase.auth `firebase.auth()`}.
862-
*
863-
* See
864-
* {@link https://firebase.google.com/docs/auth/ Firebase Authentication}
865-
* for a full guide on how to use the Firebase Auth service.
866-
*
867-
* @interface
868-
*/
869-
firebase.auth.Auth = function() {};
870-
871870
/**
872871
* The {@link firebase.app.App app} associated with the `Auth` service
873872
* instance.

0 commit comments

Comments
 (0)