public class ApiAuthDetail extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiAuthDetail.AppAuthTypeEnum
访问API服务的APP认证方式,认证方式为(apiGateway)时填写 - default - secret - jwt
|
static class |
ApiAuthDetail.AuthMethodEnum
访问API服务的认证方式 - none - basicauth - oauth2.0 - hmac - secret - md5 - apiGateway - keyTop - hikVision - huaweiNetworkManagement - liHe
|
| Constructor and Description |
|---|
ApiAuthDetail() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAccessTokenUrl()
访问API服务的AccessTokenUrl - 认证方式为(liHe、oauth2.0 huaweiNetworkManagement)时填写
|
String |
getAltIp()
访问API服务的备用IP - 认证方式为(HuaweiNetworkManagement)时填写
|
ApiAuthDetail.AppAuthTypeEnum |
getAppAuthType()
访问API服务的APP认证方式,认证方式为(apiGateway)时填写 - default - secret - jwt
|
String |
getAppKey()
访问API服务的AppKey - 认证方式为(apiGateway、oauth2.0)时填写
|
String |
getAppSecret()
访问API服务的AppSecret - 认证方式为(apiGateway、oauth2.0)时填写
|
ApiAuthDetail.AuthMethodEnum |
getAuthMethod()
访问API服务的认证方式 - none - basicauth - oauth2.0 - hmac - secret - md5 - apiGateway - keyTop - hikVision - huaweiNetworkManagement - liHe
|
String |
getAuthorization()
访问API服务的Authorization - 认证方式为(LiHe)时填写
|
String |
getClientId()
访问API服务的客户端标识 - 认证方式为Oauth2时填写
|
String |
getClientSecret()
访问API服务的客户端密钥 - 认证方式为Oauth2时填写
|
String |
getGrantType()
访问API服务的授权类型 - 认证方式为(LiHe、Oauth2)时填写 - client_credentials (oauth2.0使用)
|
String |
getPassword()
访问API服务的密码 - 认证方式为(lihe、huaweiNetworkManagement、basicauth、secret、md5、hmac)时填写
|
String |
getScope()
访问API服务的Scope - 认证方式为(LiHe、Oauth2)时填写
|
String |
getSecret()
访问API服务的Secret - 认证方式为(KeyTop、HikVision、Secret、HMAC、MD5)时填写
|
String |
getUserName()
访问API服务的用户名 - 认证方式为(lihe、huaweiNetworkManagement、basicauth)时填写
|
int |
hashCode() |
void |
setAccessTokenUrl(String accessTokenUrl) |
void |
setAltIp(String altIp) |
void |
setAppAuthType(ApiAuthDetail.AppAuthTypeEnum appAuthType) |
void |
setAppKey(String appKey) |
void |
setAppSecret(String appSecret) |
void |
setAuthMethod(ApiAuthDetail.AuthMethodEnum authMethod) |
void |
setAuthorization(String authorization) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setGrantType(String grantType) |
void |
setPassword(String password) |
void |
setScope(String scope) |
void |
setSecret(String secret) |
void |
setUserName(String userName) |
String |
toString() |
ApiAuthDetail |
withAccessTokenUrl(String accessTokenUrl) |
ApiAuthDetail |
withAltIp(String altIp) |
ApiAuthDetail |
withAppAuthType(ApiAuthDetail.AppAuthTypeEnum appAuthType) |
ApiAuthDetail |
withAppKey(String appKey) |
ApiAuthDetail |
withAppSecret(String appSecret) |
ApiAuthDetail |
withAuthMethod(ApiAuthDetail.AuthMethodEnum authMethod) |
ApiAuthDetail |
withAuthorization(String authorization) |
ApiAuthDetail |
withClientId(String clientId) |
ApiAuthDetail |
withClientSecret(String clientSecret) |
ApiAuthDetail |
withGrantType(String grantType) |
ApiAuthDetail |
withPassword(String password) |
ApiAuthDetail |
withScope(String scope) |
ApiAuthDetail |
withSecret(String secret) |
ApiAuthDetail |
withUserName(String userName) |
public ApiAuthDetail withAuthMethod(ApiAuthDetail.AuthMethodEnum authMethod)
public ApiAuthDetail.AuthMethodEnum getAuthMethod()
public void setAuthMethod(ApiAuthDetail.AuthMethodEnum authMethod)
public ApiAuthDetail withAppAuthType(ApiAuthDetail.AppAuthTypeEnum appAuthType)
public ApiAuthDetail.AppAuthTypeEnum getAppAuthType()
public void setAppAuthType(ApiAuthDetail.AppAuthTypeEnum appAuthType)
public ApiAuthDetail withUserName(String userName)
public String getUserName()
public void setUserName(String userName)
public ApiAuthDetail withPassword(String password)
public String getPassword()
public void setPassword(String password)
public ApiAuthDetail withAppKey(String appKey)
public String getAppKey()
public void setAppKey(String appKey)
public ApiAuthDetail withAppSecret(String appSecret)
public String getAppSecret()
public void setAppSecret(String appSecret)
public ApiAuthDetail withSecret(String secret)
public String getSecret()
public void setSecret(String secret)
public ApiAuthDetail withAltIp(String altIp)
public String getAltIp()
public void setAltIp(String altIp)
public ApiAuthDetail withAccessTokenUrl(String accessTokenUrl)
public String getAccessTokenUrl()
public void setAccessTokenUrl(String accessTokenUrl)
public ApiAuthDetail withClientId(String clientId)
public String getClientId()
public void setClientId(String clientId)
public ApiAuthDetail withClientSecret(String clientSecret)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public ApiAuthDetail withScope(String scope)
public String getScope()
public void setScope(String scope)
public ApiAuthDetail withAuthorization(String authorization)
public String getAuthorization()
public void setAuthorization(String authorization)
public ApiAuthDetail withGrantType(String grantType)
public String getGrantType()
public void setGrantType(String grantType)
Copyright © 2022. All rights reserved.