Package | Description |
---|---|
com.google.cloud.hadoop.util | |
com.google.cloud.hadoop.util.testing |
Modifier and Type | Method and Description |
---|---|
Class<? extends AccessTokenProvider> |
AccessTokenProviderClassFromConfigFactory.getAccessTokenProviderClass(org.apache.hadoop.conf.Configuration config)
Get the class that implements the AccessTokenProvider, from Hadoop
Configuration . |
Modifier and Type | Method and Description |
---|---|
static com.google.api.client.auth.oauth2.Credential |
CredentialFromAccessTokenProviderClassFactory.credential(AccessTokenProvider accessTokenProvider,
Collection<String> scopes)
Generate the credential from the
AccessTokenProvider . |
Modifier and Type | Class and Description |
---|---|
class |
TestingAccessTokenProvider
A mock implementation of the
AccessTokenProvider interface to be used in tests. |
Copyright © 2019. All rights reserved.