|
|
|
@@ -5,51 +5,51 @@ |
|
|
|
/// <summary> |
|
|
|
/// The Issuer Identifier for the Issuer of the response. Always https://accounts.google.com or accounts.google.com for Google ID tokens. |
|
|
|
/// </summary> |
|
|
|
public string iss { get; set; } |
|
|
|
public string? iss { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Access token hash. Provides validation that the access token is tied to the identity token. If the ID token is issued with an access token in the server flow, this is always |
|
|
|
/// included. This can be used as an alternate mechanism to protect against cross-site request forgery attacks, but if you follow Step 1 and Step 3 it is not necessary to verify the |
|
|
|
/// access token. |
|
|
|
/// </summary> |
|
|
|
public string at_hash { get; set; } |
|
|
|
public string? at_hash { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Identifies the audience that this ID token is intended for. It must be one of the OAuth 2.0 client IDs of your application. |
|
|
|
/// </summary> |
|
|
|
public string aud { get; set; } |
|
|
|
public string? aud { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// An identifier for the user, unique among all Google accounts and never reused. A Google account can have multiple emails at different points in time, but the sub value is never |
|
|
|
/// changed. Use sub within your application as the unique-identifier key for the user. |
|
|
|
/// </summary> |
|
|
|
public string sub { get; set; } |
|
|
|
public string? sub { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// True if the user's e-mail address has been verified; otherwise false. |
|
|
|
/// </summary> |
|
|
|
public string email_verified { get; set; } |
|
|
|
public bool? email_verified { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// The client_id of the authorized presenter. This claim is only needed when the party requesting the ID token is not the same as the audience of the ID token. This may be the |
|
|
|
/// case at Google for hybrid apps where a web application and Android app have a different client_id but share the same project. |
|
|
|
/// </summary> |
|
|
|
public string azp { get; set; } |
|
|
|
public string? azp { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// The user's email address. This may not be unique and is not suitable for use as a primary key. Provided only if your scope included the string "email". |
|
|
|
/// </summary> |
|
|
|
public string email { get; set; } |
|
|
|
public string? email { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// The time the ID token was issued, represented in Unix time (integer seconds). |
|
|
|
/// </summary> |
|
|
|
public string iat { get; set; } |
|
|
|
public int? iat { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// The time the ID token expires, represented in Unix time (integer seconds). |
|
|
|
/// </summary> |
|
|
|
public string exp { get; set; } |
|
|
|
public int? exp { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// The user's full name, in a displayable form. Might be provided when: |
|
|
|
@@ -57,7 +57,7 @@ |
|
|
|
/// The ID token is returned from a token refresh |
|
|
|
/// When name claims are present, you can use them to update your app's user records. Note that this claim is never guaranteed to be present. |
|
|
|
/// </summary> |
|
|
|
public string name { get; set; } |
|
|
|
public string? name { get; set; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// The URL of the user's profile picture. Might be provided when: |
|
|
|
@@ -65,16 +65,16 @@ |
|
|
|
/// The ID token is returned from a token refresh |
|
|
|
/// When picture claims are present, you can use them to update your app's user records. Note that this claim is never guaranteed to be present. |
|
|
|
/// </summary> |
|
|
|
public string picture { get; set; } |
|
|
|
public string? picture { get; set; } |
|
|
|
|
|
|
|
public string given_name { get; set; } |
|
|
|
public string? given_name { get; set; } |
|
|
|
|
|
|
|
public string family_name { get; set; } |
|
|
|
public string? family_name { get; set; } |
|
|
|
|
|
|
|
public string locale { get; set; } |
|
|
|
public string? locale { get; set; } |
|
|
|
|
|
|
|
public string alg { get; set; } |
|
|
|
public string? alg { get; set; } |
|
|
|
|
|
|
|
public string kid { get; set; } |
|
|
|
public string? kid { get; set; } |
|
|
|
} |
|
|
|
} |