Show / Hide Table of Contents

Class Userinfo

Inheritance
object
Userinfo
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Oauth2.v2.Data
Assembly: Google.Apis.Oauth2.v2.dll
Syntax
public class Userinfo : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Email

The user's email address.

Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
Type Description
string

FamilyName

The user's last name.

Declaration
[JsonProperty("family_name")]
public virtual string FamilyName { get; set; }
Property Value
Type Description
string

Gender

The user's gender.

Declaration
[JsonProperty("gender")]
public virtual string Gender { get; set; }
Property Value
Type Description
string

GivenName

The user's first name.

Declaration
[JsonProperty("given_name")]
public virtual string GivenName { get; set; }
Property Value
Type Description
string

Hd

The hosted domain e.g. example.com if the user is Google apps user.

Declaration
[JsonProperty("hd")]
public virtual string Hd { get; set; }
Property Value
Type Description
string

Id

The obfuscated ID of the user.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

Link

URL of the profile page.

Declaration
[JsonProperty("link")]
public virtual string Link { get; set; }
Property Value
Type Description
string

Locale

The user's preferred locale.

Declaration
[JsonProperty("locale")]
public virtual string Locale { get; set; }
Property Value
Type Description
string

Name

The user's full name.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Picture

URL of the user's picture image.

Declaration
[JsonProperty("picture")]
public virtual string Picture { get; set; }
Property Value
Type Description
string

VerifiedEmail

Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.

Declaration
[JsonProperty("verified_email")]
public virtual bool? VerifiedEmail { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX