@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class AccessTokenProvider extends Object implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
AccessTokenProvider() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getAccessToken()
Obtain the access token that should be added to http connection's header.
|
org.apache.hadoop.conf.Configuration |
getConf()
Return the conf.
|
void |
setConf(org.apache.hadoop.conf.Configuration configuration)
Set the conf.
|
public abstract String getAccessToken() throws IOException
IOException
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf
in interface org.apache.hadoop.conf.Configurable
configuration
- New configuration.Copyright © 2018 Apache Software Foundation. All Rights Reserved.