@InterfaceAudience.Public @InterfaceStability.Evolving public class ConfCredentialBasedAccessTokenProvider extends CredentialBasedAccessTokenProvider
OAUTH_CREDENTIAL_KEY
Constructor and Description |
---|
ConfCredentialBasedAccessTokenProvider() |
ConfCredentialBasedAccessTokenProvider(org.apache.hadoop.util.Timer timer) |
Modifier and Type | Method and Description |
---|---|
String |
getCredential() |
void |
setConf(Configuration conf)
Set the conf.
|
getAccessToken
getConf
public ConfCredentialBasedAccessTokenProvider()
public ConfCredentialBasedAccessTokenProvider(org.apache.hadoop.util.Timer timer)
public void setConf(Configuration conf)
AccessTokenProvider
setConf
in interface Configurable
setConf
in class CredentialBasedAccessTokenProvider
conf
- New configuration.public String getCredential()
getCredential
in class CredentialBasedAccessTokenProvider
Copyright © 2020 Apache Software Foundation. All rights reserved.