This interface defines virtual methods for each of the user-facing overload sets in IAMCredentialsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IAMCredentialsClient.
[[["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-05 UTC."],[[["This webpage details the `IAMCredentialsConnection` object, which is utilized by the `IAMCredentialsClient` to define virtual methods for user-facing overload sets."],["The latest release candidate version is 2.37.0-rc, and the page offers links to documentation for many prior versions, ranging from 2.20.0 up to 2.36.0."],["The `IAMCredentialsConnection` interface supports customization of behavior during testing, through functions such as `GenerateAccessToken`, `GenerateIdToken`, `SignBlob`, and `SignJwt`."],["You can create a real instance using `MakeIAMCredentialsConnection()` and a mocked instance using `iam_credentials_v1_mocks::MockIAMCredentialsConnection`."],["The functions on the page specify their return type as `StatusOr` which is used along with several request objects, such as `GenerateAccessTokenRequest`."]]],[]]