Google API Client Library for .NET  1.10.0
Public Member Functions | List of all members
Google.Apis.Auth.OAuth2.ComputeCredential.Initializer Class Reference

An initializer class for the Compute credential. It uses GoogleAuthConsts.ComputeTokenUrl as the token server URL. More...

Inheritance diagram for Google.Apis.Auth.OAuth2.ComputeCredential.Initializer:
Google.Apis.Auth.OAuth2.ServiceCredential.Initializer

Public Member Functions

 Initializer ()
 Constructs a new initializer using the default compute token URL. More...
 
 Initializer (string tokenUrl)
 Constructs a new initializer using the given token URL. More...
 
- Public Member Functions inherited from Google.Apis.Auth.OAuth2.ServiceCredential.Initializer
 Initializer (string tokenServerUrl)
 Constructs a new initializer using the given token server URL. More...
 

Additional Inherited Members

- Properties inherited from Google.Apis.Auth.OAuth2.ServiceCredential.Initializer
string TokenServerUrl [get, set]
 Gets the token server URL. More...
 
IClock Clock [get, set]
 Gets or sets the clock used to refresh the token when it expires. The default value is Google.Apis.Util.SystemClock.Default. More...
 
IAccessMethod AccessMethod [get, set]
 Gets or sets the method for presenting the access token to the resource server. The default value is BearerToken.AuthorizationHeaderAccessMethod. More...
 
IHttpClientFactory HttpClientFactory [get, set]
 Gets or sets the factory for creating a System.Net.Http.HttpClient instance. More...
 
ExponentialBackOffPolicy DefaultExponentialBackOffPolicy [get, set]
 Get or sets the exponential back-off policy. Default value is UnsuccessfulResponse503, which means that exponential back-off is used on 503 abnormal HTTP responses. If the value is set to None, no exponential back-off policy is used, and it's up to the user to configure the Google.Apis.Http.ConfigurableMessageHandler in an Google.Apis.Http.IConfigurableHttpClientInitializer to set a specific back-off implementation (using Google.Apis.Http.BackOffHandler). More...
 

Detailed Description

An initializer class for the Compute credential. It uses GoogleAuthConsts.ComputeTokenUrl as the token server URL.

Constructor & Destructor Documentation

Google.Apis.Auth.OAuth2.ComputeCredential.Initializer.Initializer ( )
inline

Constructs a new initializer using the default compute token URL.

Google.Apis.Auth.OAuth2.ComputeCredential.Initializer.Initializer ( string  tokenUrl)
inline

Constructs a new initializer using the given token URL.


The documentation for this class was generated from the following file: