Package com.google.api.gax.core
Interface CredentialsProvider
- All Known Implementing Classes:
FixedCredentialsProvider
,GoogleCredentialsProvider
,NoCredentialsProvider
public interface CredentialsProvider
Provides an interface to hold and acquire the credentials that will be used to call the service.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.auth.Credentials
Gets the credentials which will be used to call the service.
-
Method Details
-
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.- Throws:
IOException
-