Class AccessTokenWithHeaders.Builder
Builder class for AccessTokenWithHeaders to simplify common scenarios.
Inheritance
System.Object
AccessTokenWithHeaders.Builder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Auth.OAuth2
Assembly: Google.Apis.Auth.dll
Syntax
public class Builder
Properties
QuotaProject
The GCP project ID used for quota and billing purposes. May be null.
Declaration
public string QuotaProject { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Build(String)
Builds and instance of AccessTokenWithHeaders with the given token and the value set on this builder.
Declaration
public AccessTokenWithHeaders Build(string token)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | token | The token to build the AccessTokenWithHeaders for. |
Returns
| Type | Description |
|---|---|
| AccessTokenWithHeaders |