Provides an interface to hold and acquire the credentials that will be used to call the service.
Methods
getCredentials()
publicabstractCredentialsgetCredentials()
Gets the credentials which will be used to call the service. If the credentials have not been
acquired yet, then they will be acquired when this function is called.
[[["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-04-09 UTC."],[[["This page provides documentation for the `CredentialsProvider` interface in the `com.google.api.gax.core` package, which is part of the Google API Client Library for Java."],["The `CredentialsProvider` interface is used to manage and obtain the credentials required to authenticate and interact with Google services."],["The latest version of the documentation provided is for version 2.63.1, and there is a history of various previous releases, down to version 2.7.1, available."],["The getCredentials() method, when called, will return the authentication credentials, and if they haven't been acquired yet, it will handle getting them at that moment, which can potentially throw an IOException."]]],[]]