Interface CredentialsProvider (2.19.5)

Stay organized with collections Save and categorize content based on your preferences.
public interface CredentialsProvider

Provides an interface to hold and acquire the credentials that will be used to call the service.

Methods

getCredentials()

public abstract Credentials getCredentials()

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.

Returns
TypeDescription
com.google.auth.Credentials
Exceptions
TypeDescription
IOException