Package com.yahoo.gsheetjdbc.data
Interface CredentialFetcher
-
- All Known Implementing Classes:
GoogleServiceAccountCredentialFetcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CredentialFetcher
Fetches credentials for API access to Google documents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.auth.oauth2.GoogleCredentialsgetCredentials()Fetch credentials.
-
-
-
Method Detail
-
getCredentials
com.google.auth.oauth2.GoogleCredentials getCredentials() throws IOExceptionFetch credentials.- Returns:
- A set of credentials to access the API.
- Throws:
IOException- If there is an exception fetching credentials.
-
-