Interface CredentialsProvider (2.17.0)

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