Interface CredentialsProvider (2.47.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
Type
Description
com.google.auth.Credentials
Exceptions
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: