public interface
CredentialFactory
Known Indirect Subclasses |
Factory to create a GoogleCredential
object for accessing the Cloud Search API.
Public Method Summary
abstract GoogleCredential |
getCredential(Collection<String> scopes)
Creates a
GoogleCredential object for accessing the Cloud Search API. |
Public Methods
public abstract GoogleCredential getCredential (Collection<String> scopes)
Creates a GoogleCredential
object for accessing the Cloud Search API.
Parameters
scopes | the OAuth 2.0 scope requirements to access the Cloud Search API |
---|
Returns
- a fully built
GoogleCredential
Throws
GeneralSecurityException | |
---|---|
IOException |