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."],[[["Version 2.37.0-rc is the latest release candidate for the Google Cloud C++ client library's `Credentials` class."],["The content provides a version history of the `Credentials` class, ranging from version 2.10.1 up to the latest release candidate, 2.37.0-rc."],["The `Credentials` class is an opaque representation of authentication configuration, used to handle authentication parameters for applications, and is mostly intended for internal client library use."],["Access tokens can be created from a `Credentials` object using the OAuth2 Library."],["Further information on authentication in GCP and the IAM service can be found at the provided links to their respective documentations."]]],[]]
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