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-14 UTC."],[[["This webpage provides documentation for the `IAMCredentialsConnection` class, which is part of the Google Cloud C++ client library for IAM Credentials, version 2.31.0."],["The `IAMCredentialsConnection` class defines virtual methods corresponding to the user-facing overload sets in `IAMCredentialsClient`, allowing for the injection of custom behavior, particularly in testing scenarios."],["Users can find instructions on creating a concrete instance of this class by referring to the `MakeIAMCredentialsConnection()` function, and for mocking, they should use `iam_credentials_v1_mocks::MockIAMCredentialsConnection`."],["The page also includes a list of previous versions, with `2.37.0-rc` being the latest."],["Methods such as `GenerateAccessToken`, `GenerateIdToken`, `SignBlob`, and `SignJwt` are all part of the virtual functions available in the `IAMCredentialsConnection`."]]],[]]