@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class AccessTokenProvider extends Object implements 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.
|
Configuration |
getConf()
Return the conf.
|
void |
setConf(Configuration configuration)
Set the conf.
|
public abstract String getAccessToken() throws IOException
IOExceptionpublic Configuration getConf()
getConf in interface Configurablepublic void setConf(Configuration configuration)
setConf in interface Configurableconfiguration - New configuration.Copyright © 2024 Apache Software Foundation. All rights reserved.