Skip to content

Commit 5e5e0ed

Browse files
committed
Changed access level of IUserInfo function implementations for UserRecord and ProviderUserInfo to public.
1 parent 9f1e69c commit 5e5e0ed

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

FirebaseAdmin/FirebaseAdmin/Auth/ProviderUserInfo.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,37 +35,37 @@ internal ProviderUserInfo(GetAccountInfoResponse.Provider provider)
3535
/// Returns the user's unique ID assigned by the identity provider.
3636
/// </summary>
3737
/// <returns>a user ID string.</returns>
38-
string IUserInfo.GetUid() => this.uid;
38+
public string GetUid() => this.uid;
3939

4040
/// <summary>
4141
/// Returns the user's display name, if available.
4242
/// </summary>
4343
/// <returns>a display name string or null.</returns>
44-
string IUserInfo.GetDisplayName() => this.displayName;
44+
public string GetDisplayName() => this.displayName;
4545

4646
/// <summary>
4747
/// Returns the user's email address, if available.
4848
/// </summary>
4949
/// <returns>an email address string or null.</returns>
50-
string IUserInfo.GetEmail() => this.email;
50+
public string GetEmail() => this.email;
5151

5252
/// <summary>
5353
/// Gets the user's phone number.
5454
/// </summary>
5555
/// <returns>a phone number string or null.</returns>
56-
string IUserInfo.GetPhoneNumber() => this.phoneNumber;
56+
public string GetPhoneNumber() => this.phoneNumber;
5757

5858
/// <summary>
5959
/// Returns the user's photo URL, if available.
6060
/// </summary>
6161
/// <returns>a URL string or null.</returns>
62-
string IUserInfo.GetPhotoUrl() => this.photoUrl;
62+
public string GetPhotoUrl() => this.photoUrl;
6363

6464
/// <summary>
6565
/// Returns the ID of the identity provider. This can be a short domain name (e.g. google.com) or
6666
/// the identifier of an OpenID identity provider.
6767
/// </summary>
6868
/// <returns>an ID string that uniquely identifies the identity provider.</returns>
69-
string IUserInfo.GetProviderId() => this.providerId;
69+
public string GetProviderId() => this.providerId;
7070
}
7171
}

FirebaseAdmin/FirebaseAdmin/Auth/UserRecord.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,38 +174,38 @@ public static void CheckUid(string uid)
174174
/// Returns the user's unique ID assigned by the identity provider.
175175
/// </summary>
176176
/// <returns>a user ID string.</returns>
177-
string IUserInfo.GetUid() => this.uid;
177+
public string GetUid() => this.uid;
178178

179179
/// <summary>
180180
/// Returns the user's display name, if available.
181181
/// </summary>
182182
/// <returns>a display name string or null.</returns>
183-
string IUserInfo.GetDisplayName() => this.displayName;
183+
public string GetDisplayName() => this.displayName;
184184

185185
/// <summary>
186186
/// Returns the user's email address, if available.
187187
/// </summary>
188188
/// <returns>an email address string or null.</returns>
189-
string IUserInfo.GetEmail() => this.email;
189+
public string GetEmail() => this.email;
190190

191191
/// <summary>
192192
/// Gets the user's phone number.
193193
/// </summary>
194194
/// <returns>a phone number string or null.</returns>
195-
string IUserInfo.GetPhoneNumber() => this.phoneNumber;
195+
public string GetPhoneNumber() => this.phoneNumber;
196196

197197
/// <summary>
198198
/// Returns the user's photo URL, if available.
199199
/// </summary>
200200
/// <returns>a URL string or null.</returns>
201-
string IUserInfo.GetPhotoUrl() => this.photoUrl;
201+
public string GetPhotoUrl() => this.photoUrl;
202202

203203
/// <summary>
204204
/// Returns the ID of the identity provider. This can be a short domain name (e.g. google.com) or
205205
/// the identifier of an OpenID identity provider.
206206
/// </summary>
207207
/// <returns>an ID string that uniquely identifies the identity provider.</returns>
208-
string IUserInfo.GetProviderId() => UserRecord.PROVIDERID;
208+
public string GetProviderId() => UserRecord.PROVIDERID;
209209

210210
/// <summary>
211211
/// Checks if the given set of custom claims are valid.

0 commit comments

Comments
 (0)