Class GoogleJsonWebSignature.Payload (1.60.0)

public class GoogleJsonWebSignature.Payload : JsonWebSignature.Payload

Inheritance

object > JsonWebTokenPayload > JsonWebSignaturePayload > GoogleJsonWebSignature.Payload

Namespace

GoogleApisAuth

Assembly

Google.Apis.Auth.dll

Properties

Email

public string Email { get; set; }

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".

Property Value
Type Description
string

EmailVerified

public bool EmailVerified { get; set; }

True if the user's e-mail address has been verified; otherwise false.

Property Value
Type Description
bool

FamilyName

public string FamilyName { get; set; }

Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.

Property Value
Type Description
string

GivenName

public string GivenName { get; set; }

Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.

Property Value
Type Description
string

HostedDomain

public string HostedDomain { get; set; }

The hosted GSuite domain of the user. Provided only if the user belongs to a hosted domain.

Property Value
Type Description
string

Locale

public string Locale { get; set; }

End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA.

Property Value
Type Description
string

Name

public string Name { get; set; }

The user's full name, in a displayable form. Might be provided when: (1) The request scope included the string "profile"; or (2) 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.

Property Value
Type Description
string

Picture

public string Picture { get; set; }

The URL of the user's profile picture. Might be provided when: (1) The request scope included the string "profile"; or (2) 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.

Property Value
Type Description
string

Prn

public string Prn { get; set; }

The email address of the user for which the application is requesting delegated access.

Property Value
Type Description
string

Scope

public string Scope { get; set; }

A space-delimited list of the permissions the application requests or null.

Property Value
Type Description
string

Extension Method