Google API Client Library for .NET  1.10.0
List of all members
Google.Apis.Auth.OAuth2.ICredential Interface Reference

The main interface to represent credential in the client library. Service account, User account and Compute credential inherit from this interface to provide access token functionality. In addition this interface inherits from IConfigurableHttpClientInitializer to be able to hook to http requests. More details are available in the specific implementations. More...

Inheritance diagram for Google.Apis.Auth.OAuth2.ICredential:
Google.Apis.Http.IConfigurableHttpClientInitializer Google.Apis.Auth.OAuth2.ITokenAccess Google.Apis.Auth.OAuth2.ServiceCredential Google.Apis.Auth.OAuth2.UserCredential Google.Apis.Auth.OAuth2.ComputeCredential Google.Apis.Auth.OAuth2.ServiceAccountCredential

Additional Inherited Members

- Public Member Functions inherited from Google.Apis.Http.IConfigurableHttpClientInitializer
void Initialize (ConfigurableHttpClient httpClient)
 Initializes a HTTP client after it was created. More...
 
- Public Member Functions inherited from Google.Apis.Auth.OAuth2.ITokenAccess
Task< string > GetAccessTokenForRequestAsync (string authUri=null, CancellationToken cancellationToken=default(CancellationToken))
 Gets an access token to authorize a request. Implementations should handle automatic refreshes of the token if they are supported. The authUri might be required by some credential types (e.g. the JWT access token) while other credential types migth just ignore it. More...
 

Detailed Description

The main interface to represent credential in the client library. Service account, User account and Compute credential inherit from this interface to provide access token functionality. In addition this interface inherits from IConfigurableHttpClientInitializer to be able to hook to http requests. More details are available in the specific implementations.


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