Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions auth/import_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ func (u *UserToImport) set(key string, value interface{}) *UserToImport {
//
// One or more user providers can be specified for each user when importing in bulk.
// See UserToImport type.
// More info at https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.userproviderrequest.md#properties
type UserProvider struct {
UID string `json:"rawId"`
ProviderID string `json:"providerId"`
Email string `json:"email,omitempty"`
PhoneNumber string `json:"phoneNumber,omitempty"`
DisplayName string `json:"displayName,omitempty"`
PhotoURL string `json:"photoUrl,omitempty"`
}
Expand Down