Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Snippets for new Admin auth features #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

samtstern
Copy link
Contributor

@samtstern samtstern requested a review from rsgowman April 1, 2020 13:37

public void getUserByFederatedId() throws Exception {
// [START get_user_by_federated_id]
UserRecord user = FirebaseAuth.getInstance().getUserByFederatedIdAsync("google.com", "google_uid1234").get();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be getUserByProviderUidAsync (similar to the other ports). Yeah, I see that the upstream PR where you got this from is also incorrect and have flagged that.

@samtstern
Copy link
Contributor Author

@rsgowman any update on this?

@rsgowman
Copy link
Member

There's still one comment left to be addressed? (Mind you, upstream hasn't addressed it yet either; I haven't been pushing on it since we don't have the launch approval finalized. Though perhaps that was what you were asking about? More context: additionally, these features depend on the bulk get/delete feature, which is only rolling out "now".)

@samtstern
Copy link
Contributor Author

@rsgowman yeah I was asking when the upstream PRs would be merged so that we can write this on top of the real SDK.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants