Skip to content

Conversation

wti806
Copy link
Contributor

@wti806 wti806 commented Dec 1, 2017

Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:

Discussion

  • Read the contribution guidelines (CONTRIBUTING.md).
  • If this has been discussed in an issue, make sure to link to the issue here.
    If not, go file an issue about this before creating a pull request to discuss.

Testing

  • Make sure all existing tests in the repository pass after your change.
  • If you fixed a bug or added a feature, add a new test to cover your code.

API Changes

  • At this time we cannot accept changes that affect the public API. If you'd like to help
    us make Firebase APIs better, please propose your change in an issue so that we
    can discuss it together.

@googlebot
Copy link

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.
In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again.

@wti806
Copy link
Contributor Author

wti806 commented Dec 1, 2017

Added email address in git config to pass the CLA check

@wti806 wti806 closed this Dec 1, 2017
@wti806 wti806 reopened this Dec 1, 2017
@wti806 wti806 force-pushed the revamp_sign_in_methods branch from 813a774 to fedf1d4 Compare December 1, 2017 04:21
@googlebot
Copy link

CLAs look good, thanks!

@bojeil-google
Copy link
Contributor

Looks good, can you also add the changes to the test app?

@wti806 wti806 requested a review from jshcrowthe as a code owner December 4, 2017 05:32
Copy link
Contributor

@jshcrowthe jshcrowthe left a 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
Copy link
Contributor

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
Copy link
Contributor

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,
Copy link
Contributor

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
Copy link
Contributor

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.
*
Copy link
Contributor

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.

@@ -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
Copy link
Contributor

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
Copy link
Contributor

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 `

@wti806 wti806 merged commit 1fddc3b into firebase:master Dec 4, 2017
@firebase firebase locked and limited conversation to collaborators Oct 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants