Show / Hide Table of Contents

Class Tokeninfo

Inheritance
object
Tokeninfo
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 Tokeninfo : IDirectResponseSchema

Properties

Audience

Who is the intended audience for this token. In general the same as issued_to.

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

ETag

The ETag of the item.

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

Email

The email address of the user. Present only if the email scope is present in the request.

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

ExpiresIn

The expiry time of the token, as number of seconds left until expiry.

Declaration
[JsonProperty("expires_in")]
public virtual int? ExpiresIn { get; set; }
Property Value
Type Description
int?

IssuedTo

To whom was the token issued to. In general the same as audience.

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

Scope

The space separated list of scopes granted to this token.

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

UserId

The obfuscated user id.

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

VerifiedEmail

Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.

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