Stay organized with collections Save and categorize content based on your preferences.
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.
You can use the OAuth2 Library to create access tokens from a Credentials
object.
https://cloud.google.com/docs/authentication for more information on authentication in GCP.
See Alsohttps://cloud.google.com/iam for more information on the IAM Service.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-14 UTC.
[[["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-08-14 UTC."],[[["The content provides documentation for different versions of the `Credentials` class in the Google Cloud C++ client library."],["Version 2.37.0-rc is the latest release candidate, while version 2.27.0 is the current version as labeled in the document header."],["The `Credentials` class represents the authentication configuration, and applications typically use factory functions to set authentication parameters."],["The OAuth2 library can be used to generate access tokens from a `Credentials` object."],["There are various links related to GCP authentication and the IAM service, which is available for further information on the subject."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4