Modifier and Type | Method and Description |
---|---|
java.lang.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,
java.util.Collection<java.lang.String> scopes)
Generate the credential from the
AccessTokenProvider . |
Copyright © 2019. All rights reserved.