Developer Connect v1 API - Class FetchAccessTokenResponse (1.0.0-beta02)

public sealed class FetchAccessTokenResponse : IMessage<FetchAccessTokenResponse>, IEquatable<FetchAccessTokenResponse>, IDeepCloneable<FetchAccessTokenResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class FetchAccessTokenResponse.

Message for responding to getting an OAuth access token.

Inheritance

object > FetchAccessTokenResponse

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

FetchAccessTokenResponse()

public FetchAccessTokenResponse()

FetchAccessTokenResponse(FetchAccessTokenResponse)

public FetchAccessTokenResponse(FetchAccessTokenResponse other)
Parameter
Name Description
other FetchAccessTokenResponse

Properties

ExchangeError

public ExchangeError ExchangeError { get; set; }

The error resulted from exchanging OAuth tokens from the service provider.

Property Value
Type Description
ExchangeError

ExpirationTime

public Timestamp ExpirationTime { get; set; }

Expiration timestamp. Can be empty if unknown or non-expiring.

Property Value
Type Description
Timestamp

Scopes

public RepeatedField<string> Scopes { get; }

The scopes of the access token.

Property Value
Type Description
RepeatedFieldstring

Token

public string Token { get; set; }

The token content.

Property Value
Type Description
string