Package com.google.api.gax.core
Interface CredentialsProvider
-
- All Known Implementing Classes:
FixedCredentialsProvider,GoogleCredentialsProvider,NoCredentialsProvider
public interface CredentialsProviderProvides an interface to hold and acquire the credentials that will be used to call the service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.auth.CredentialsgetCredentials()Gets the credentials which will be used to call the service.
-
-
-
Method Detail
-
getCredentials
com.google.auth.Credentials getCredentials() throws IOExceptionGets 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
-
-