Class AccessTokenWithHeaders.Builder (1.50.0)

public class Builder : object

Builder class for AccessTokenWithHeaders to simplify common scenarios.

Inheritance

Object > AccessTokenWithHeaders.Builder

Namespace

Google.Apis.Auth.OAuth2

Assembly

Google.Apis.Auth.dll

Properties

QuotaProject

public string QuotaProject { get; set; }

The GCP project ID used for quota and billing purposes. May be null.

Property Value
TypeDescription
String

Methods

Build(String)

public AccessTokenWithHeaders Build(string token)

Builds and instance of AccessTokenWithHeaders with the given token and the value set on this builder.

Parameter
NameDescription
tokenString

The token to build the AccessTokenWithHeaders for.

Returns
TypeDescription
AccessTokenWithHeaders

An AccessTokenWithHeaders.

Extension Method