public interface ICredential : IConfigurableHttpClientInitializer, ITokenAccess
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `ICredential` interface is 1.69.0, as indicated by the provided link."],["`ICredential` serves as the primary interface for credential representation within the client library, from which service accounts, user accounts, and compute credentials derive."],["This interface provides token functionality and inherits from `IConfigurableHttpClientInitializer`, enabling integration with HTTP requests."],["`ICredential` includes the `Initialize` method from `IConfigurableHttpClientInitializer` and the `GetAccessTokenForRequestAsync` method from `ITokenAccess`."],["The `Google.Apis.Auth.OAuth2` namespace houses the `ICredential` interface within the `Google.Apis.Auth.dll` assembly."]]],[]]