An opaque representation of the authentication configuration.
Applications use factory functions to provide the authentication parameters (for example, a raw access token). The factory function encapsulates the parameters in an instance of this class. The interface in this class is (intentionally) very narrow. Only the internal components in the client libraries should need to access the details of this class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version available is 2.37.0-rc, with several other previous versions listed, including 2.36.0, 2.35.0, and down to 2.10.1.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details the \u003ccode\u003eCredentials\u003c/code\u003e class, which serves as an opaque representation of authentication configuration within the Google Cloud C++ client libraries.\u003c/p\u003e\n"],["\u003cp\u003eApplications utilize factory functions to establish authentication parameters, encapsulating them within a \u003ccode\u003eCredentials\u003c/code\u003e class instance.\u003c/p\u003e\n"],["\u003cp\u003eThe OAuth2 library can be employed to generate access tokens from a \u003ccode\u003eCredentials\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eFurther information on authentication in GCP, authentication for client libraries, and the IAM service can be found via provided links.\u003c/p\u003e\n"]]],[],null,[]]