public class OAuth extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| OAuth() | 
| OAuth(OAuth source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getOAuthEnable()Get 开启或关闭鉴权。
True: 开启;
False: 关闭
默认为关闭。 | 
| String | getOAuthFailureStatus()Get IAP全部故障后,拒绝请求还是放行。
BYPASS: 通过
REJECT: 拒绝
默认为 BYPASS | 
| void | setOAuthEnable(Boolean OAuthEnable)Set 开启或关闭鉴权。
True: 开启;
False: 关闭
默认为关闭。 | 
| void | setOAuthFailureStatus(String OAuthFailureStatus)Set IAP全部故障后,拒绝请求还是放行。
BYPASS: 通过
REJECT: 拒绝
默认为 BYPASS | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OAuth()
public OAuth(OAuth source)
public Boolean getOAuthEnable()
public void setOAuthEnable(Boolean OAuthEnable)
OAuthEnable - 开启或关闭鉴权。
True: 开启;
False: 关闭
默认为关闭。public String getOAuthFailureStatus()
public void setOAuthFailureStatus(String OAuthFailureStatus)
OAuthFailureStatus - IAP全部故障后,拒绝请求还是放行。
BYPASS: 通过
REJECT: 拒绝
默认为 BYPASSCopyright © 2025. All rights reserved.