Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 7e9ec7e

Browse files
firebase user provider data? #196
1 parent 987b12c commit 7e9ec7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/AUTHENTICATION.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ You can sign in a user either
1313

1414
Each of these login mechanisms need to be enabled in your Firebase console at the 'Login & Auth' tab.
1515

16-
## What's returned when logging in?
16+
## What's returned when logged in?
1717
All login functions below, as well as `getCurrentUser` return a 'User' object with these properties:
1818

1919
|param|optional|description
2020
|---|---|---
2121
|`uid`|no|The Firebase User ID
22-
|`email`|yes|Not all providers require an email address
22+
|`anonymous`|no|Whether or not the user logged in anonymously
2323
|`emailVerified`|no|You can send an email with a verification link which this refers to
24+
|`providers`|no|An array of {id: value} objects, where value can be 'facebook.com', etc
25+
|`email`|yes|Not all providers require an email address
2426
|`name`|yes|The name stored at the provider
25-
|`anonymous`|no|Whether or not the user logged in anonymously
2627
|`profileImageURL`|yes|A string containing a link to a user image on the web
2728
|`refreshToken`|yes|iOS only
28-
|`providers`|no|An array of {id: value} objects, where value can be 'facebook.com', etc
2929

3030

3131
## Functions

0 commit comments

Comments
 (0)