Class FetchAccessTokenResponse
Message for responding to getting an OAuth access token.
Implements
Inherited Members
Namespace: Google.Apis.DeveloperConnect .v1.Data
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class FetchAccessTokenResponse : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExchangeError
The error resulted from exchanging OAuth tokens from the service provider.
Declaration
[JsonProperty("exchangeError")]
public virtual ExchangeError ExchangeError { get; set; }
Property Value
Type | Description |
---|---|
Exchange |
ExpirationTime
object representation of Expiration
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")]
public virtual object ExpirationTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpirationTimeDateTimeOffset
Date
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpirationTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
Date |
ExpirationTimeRaw
Expiration timestamp. Can be empty if unknown or non-expiring.
Declaration
[JsonProperty("expirationTime")]
public virtual string ExpirationTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Scopes
The scopes of the access token.
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
Token
The token content.
Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
Type | Description |
---|---|
string |