-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathGoogleUser.cs
45 lines (32 loc) · 1009 Bytes
/
GoogleUser.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using ErtisAuth.Integrations.OAuth.Core;
using Newtonsoft.Json;
namespace ErtisAuth.Integrations.OAuth.Google
{
public class GoogleUser : IProviderUser
{
#region Properties
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("first_name")]
public string FirstName { get; set; }
[JsonProperty("last_name")]
public string LastName { get; set; }
[JsonProperty("name")]
public string FullName { get; set; }
[JsonProperty("email")]
public string EmailAddress { get; set; }
[JsonProperty("scope")]
public string Scope { get; set; }
[JsonProperty("prn")]
public string Prn { get; set; }
[JsonProperty("hd")]
public string HostedDomain { get; set; }
[JsonProperty("email_verified")]
public bool EmailVerified { get; set; }
[JsonProperty("picture")]
public string Picture { get; set; }
[JsonProperty("locale")]
public string Locale { get; set; }
#endregion
}
}