Package | Description |
---|---|
com.google.cloud.hadoop.util | |
com.google.cloud.hadoop.util.testing |
Modifier and Type | Field and Description |
---|---|
static HadoopConfigurationProperty<Class<? extends AccessTokenProvider>> |
HadoopCredentialConfiguration.ACCESS_TOKEN_PROVIDER_IMPL_SUFFIX
Configuration key for the name of the AccessTokenProvider to use to generate AccessTokens.
|
Modifier and Type | Method and Description |
---|---|
static AccessTokenProvider |
HadoopCredentialConfiguration.getAccessTokenProvider(org.apache.hadoop.conf.Configuration config,
List<String> keyPrefixes)
Creates an
AccessTokenProvider based on the configuration. |
Modifier and Type | Method and Description |
---|---|
static Class<? extends AccessTokenProvider> |
HadoopCredentialConfiguration.getAccessTokenProviderImplClass(org.apache.hadoop.conf.Configuration config,
String... keyPrefixes) |
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 © 2024. All rights reserved.