@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
IOException
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration configuration)
setConf
in interface Configurable
configuration
- New configuration.Copyright © 2021 Apache Software Foundation. All rights reserved.