public class AccessTokenManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
AccessTokenManager(org.springframework.web.client.RestTemplate restTemplate,
HttpConfig httpConfig)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessToken()
get access token.
|
void |
login(java.util.List<java.lang.String> servers)
server login.
|
public AccessTokenManager(org.springframework.web.client.RestTemplate restTemplate,
HttpConfig httpConfig)
restTemplate - the rest template.httpConfig - the config.Copyright © 2023 The Apache Software Foundation. All rights reserved.