Show / Hide Table of Contents

Class GoogleIdentityStsV1ExchangeOauthTokenResponse

Response message for ExchangeOauthToken. see https://www.rfc-editor.org/rfc/rfc6749#section-5.1

Inheritance
object
GoogleIdentityStsV1ExchangeOauthTokenResponse
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.CloudSecurityToken.v1.Data
Assembly: Google.Apis.CloudSecurityToken.v1.dll
Syntax
public class GoogleIdentityStsV1ExchangeOauthTokenResponse : IDirectResponseSchema

Properties

AccessToken

An OAuth 2.0 security token, issued by Google, in response to the Oauth token exchange request for the authorization code and refresh token flows. The returned access token. Tokens can vary in size, depending, in part, on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.

Declaration
[JsonProperty("access_token")]
public virtual string AccessToken { 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

ExpiresIn

The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expires.

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

IdToken

Google issued ID token in response to the OAuth token exchange request for ID token flow.

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

RefreshToken

A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow

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

Scope

A list of scopes associated with the returned token.

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

TokenType

The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX