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 links to documentation for it and many previous versions, down to 2.10.1.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details the \u003ccode\u003eCredentials\u003c/code\u003e class, which represents the authentication configuration for Google Cloud Platform.\u003c/p\u003e\n"],["\u003cp\u003eApplications use factory functions to encapsulate authentication parameters within a \u003ccode\u003eCredentials\u003c/code\u003e instance, which should primarily be used internally by client libraries.\u003c/p\u003e\n"],["\u003cp\u003eAccess tokens can be created from a \u003ccode\u003eCredentials\u003c/code\u003e object using the OAuth2 Library.\u003c/p\u003e\n"],["\u003cp\u003eMore information on GCP authentication and the IAM service is available at the provided links.\u003c/p\u003e\n"]]],[],null,[]]