You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 23, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Sources/EasyFirebase/Services/Auth/EasyUser.swift
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -84,11 +84,6 @@ open class EasyUser: IndexedDocument {
84
84
/// The user's email address.
85
85
publicinternal(set)varemail:String
86
86
87
-
/// The user's username.
88
-
///
89
-
/// This value is automatically generated based on the user's email upon account creation.
90
-
publicinternal(set)varusername:String
91
-
92
87
/// The user's display name.
93
88
///
94
89
/// This value is automatically updated to a suggested display name when an account is created.
@@ -100,6 +95,13 @@ open class EasyUser: IndexedDocument {
100
95
/// You can specify a default profile image by setting `EasyAuth.defaultProfileImageURLs`.
101
96
publicvarprofileImageURL:URL?
102
97
98
+
// MARK: - Objective C Exposed Mixed Properties
99
+
100
+
/// The user's username.
101
+
///
102
+
/// This value is automatically generated based on the user's email upon account creation.
103
+
@objcpublicinternal(set)varusername:String
104
+
103
105
// MARK: - Inherited Properties
104
106
105
107
publicvarindex:Int?
@@ -200,10 +202,11 @@ public extension EasyUser {
200
202
- parameter suggestionGenerator: A function that takes in a username and provides a new username (hopefully unique). See **Discussion** for more information.
201
203
- parameter completion: The completion handler. See **Discussion** for more information.
0 commit comments