Class AccessTokenWithHeaders.Builder (1.68.0)

public class AccessTokenWithHeaders.Builder

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
Type Description
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
Name Description
token string

The token to build the AccessTokenWithHeaders for.

Returns
Type Description
AccessTokenWithHeaders

An AccessTokenWithHeaders.

Extension Method