@Component @ConfigurationProperties(prefix="dew.component.auth.sdk") public class AuthSDKConfig extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
HTTP_ACCESS_TOKEN
The constant HTTP_ACCESS_TOKEN.
|
static String |
HTTP_URI
The constant HTTP_URI.
|
static String |
HTTP_USER_TOKEN
The constant HTTP_USER_TOKEN.
|
| 构造器和说明 |
|---|
AuthSDKConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getServerUrl()
Gets server url.
|
Set<String> |
getWhiteList()
Gets white list.
|
AuthSDKConfig |
setServerUrl(String serverUrl)
Sets server url.
|
AuthSDKConfig |
setWhiteList(Set<String> whiteList)
Sets white list.
|
public static final String HTTP_ACCESS_TOKEN
public static final String HTTP_USER_TOKEN
public String getServerUrl()
public AuthSDKConfig setServerUrl(String serverUrl)
serverUrl - the server urlpublic AuthSDKConfig setWhiteList(Set<String> whiteList)
whiteList - the white listCopyright © 2019. All rights reserved.