34 lines
846 B
C#
34 lines
846 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace WebAPI.Data.Dto.OIDC
|
|
{
|
|
public class OIDCUserInfoResponse
|
|
{
|
|
[JsonProperty("email")]
|
|
public string Email { get; set; }
|
|
|
|
[JsonProperty("email_verified")]
|
|
public bool EmailVerified { get; set; }
|
|
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("given_name")]
|
|
public string GivenName { get; set; }
|
|
|
|
[JsonProperty("family_name")]
|
|
public string FamilyName { get; set; }
|
|
|
|
[JsonProperty("preferred_username")]
|
|
public string PreferredUsername { get; set; }
|
|
|
|
[JsonProperty("nickname")]
|
|
public string Nickname { get; set; }
|
|
|
|
[JsonProperty("groups")]
|
|
public string[] Groups { get; set; }
|
|
|
|
[JsonProperty("sub")]
|
|
public string Sub { get; set; }
|
|
}
|
|
} |