Skip to content

Instantly share code, notes, and snippets.

@bezysoftware
Created January 12, 2020 11:23
Show Gist options
  • Select an option

  • Save bezysoftware/a1e74c4b91a1ccac3a40e70286574b51 to your computer and use it in GitHub Desktop.

Select an option

Save bezysoftware/a1e74c4b91a1ccac3a40e70286574b51 to your computer and use it in GitHub Desktop.
// user and auth properties
var user = userCredential.User;
var uid = user.Uid;
var name = user.Info.DisplayName; // more properties are available in user.Info
var refreshToken = user.Credential.RefreshToken; // more properties are available in user.Credential
// user methods
var token = await user.GetIdTokenAsync();
await user.DeleteAsync();
await user.ChangePasswordAsync("new_password");
await user.LinkWithCredentialAsync(authCredential);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment