@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
IOExceptionpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf in interface org.apache.hadoop.conf.Configurableconfiguration - New configuration.Copyright © 2022 Apache Software Foundation. All rights reserved.