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 content provides documentation for various versions of the \u003ccode\u003eCredentials\u003c/code\u003e class in the Google Cloud C++ client library, ranging from version 2.10.1 to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCredentials\u003c/code\u003e class represents the authentication configuration for Google Cloud services, and is used to encapsulate authentication parameters.\u003c/p\u003e\n"],["\u003cp\u003eOnly internal client library components should access the details of the \u003ccode\u003eCredentials\u003c/code\u003e class, with applications typically using factory functions to configure authentication.\u003c/p\u003e\n"],["\u003cp\u003eThe OAuth2 Library can be used to create access tokens from a \u003ccode\u003eCredentials\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAdditional information about authentication and the IAM service in Google Cloud can be found at the provided links.\u003c/p\u003e\n"]]],[],null,[]]