-
Notifications
You must be signed in to change notification settings - Fork 965
Merged first part of revamp_sign_in_methods #344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
Added email address in git config to pass the CLA check |
813a774
to
fedf1d4
Compare
CLAs look good, thanks! |
Looks good, can you also add the changes to the test app? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Externs changes look good.
|
||
/** | ||
* Creates a new user account associated with the specified email address and | ||
* password. Will be depercated, replaced by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method will be deprecated and will be updated to resolve with a firebase.auth.UserCredential
as is returned in {@link firebase.auth.Auth#createUserAndRetrieveDataWithEmailAndPassword}.
) {}; | ||
|
||
/** | ||
* Asynchronously signs in using a custom token. Will be depercated, replaced by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method will be deprecated and will be updated to resolve with a firebase.auth.UserCredential
as is returned in {@link firebase.auth.Auth#signInAndRetrieveDataWithCustomToken}.
) {}; | ||
|
||
/** | ||
* Asynchronously signs in using an email and password. Will be depercated, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method will be deprecated and will be updated to resolve with a firebase.auth.UserCredential
as is returned in {@link firebase.auth.Auth#signInAndRetrieveDataWithEmailAndPassword}.
firebase.auth.Auth.prototype.signInAnonymouslyAndRetrieveData = function() {}; | ||
|
||
/** | ||
* Asynchronously signs in as an anonymous user. Will be depercated, replaced |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method will be deprecated and will be updated to resolve with a firebase.auth.UserCredential
as is returned in {@link firebase.auth.Auth#signInAnonymouslyAndRetrieveData}.
@@ -1043,7 +1043,59 @@ firebase.auth.Auth.prototype.useDeviceLanguage = function() {}; | |||
|
|||
/** | |||
* Creates a new user account associated with the specified email address and | |||
* password. | |||
* password and returns any additional user info data or credentials. | |||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add another paragraph.
This method will be renamed to createUserWithEmailAndPassword
replacing the existing method with the same name in the next major version change.
Do the same for the other 3.
…into revamp_sign_in_methods
…rebase-js-sdk into revamp_sign_in_methods
@@ -1045,6 +1045,9 @@ firebase.auth.Auth.prototype.useDeviceLanguage = function() {}; | |||
* Creates a new user account associated with the specified email address and | |||
* password and returns any additional user info data or credentials. | |||
* | |||
* This method will be renamed to createUserWithEmailAndPassword replacing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
encapsulate createUserWithEmailAndPassword with ticks ` here and below.
* password. | ||
* | ||
* This method will be deprecated and will be updated to resolve with a | ||
* firebase.auth.UserCredential as is returned in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
encapsulate firebase.auth.UserCredential with ticks `
Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:
Discussion
If not, go file an issue about this before creating a pull request to discuss.
Testing
API Changes
us make Firebase APIs better, please propose your change in an issue so that we
can discuss it together.