public class ModifyOAuthSettingRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyOAuthSettingRequest() |
ModifyOAuthSettingRequest(ModifyOAuthSettingRequest 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 |
---|---|
String |
getAuthMethod()
Get OAuth认证方式。
|
String |
getClientId()
Get OAuth认证客户端Id
|
String |
getClientSecret()
Get OAuth认证客户端密钥
|
String |
getCodeUrl()
Get 获取OAuth认证授权码URL
|
Boolean |
getEnable()
Get 是否开启OAuth认证,false-不开启,true-开启。
|
String[] |
getScopes()
Get 使用Okta认证时指定范围。为空时默认使用 openid、profile、email。
|
String |
getTokenUrl()
Get 获取OAuth令牌URL
|
String |
getUserInfoUrl()
Get 获取OAuth用户信息URL
|
void |
setAuthMethod(String AuthMethod)
Set OAuth认证方式。
|
void |
setClientId(String ClientId)
Set OAuth认证客户端Id
|
void |
setClientSecret(String ClientSecret)
Set OAuth认证客户端密钥
|
void |
setCodeUrl(String CodeUrl)
Set 获取OAuth认证授权码URL
|
void |
setEnable(Boolean Enable)
Set 是否开启OAuth认证,false-不开启,true-开启。
|
void |
setScopes(String[] Scopes)
Set 使用Okta认证时指定范围。为空时默认使用 openid、profile、email。
|
void |
setTokenUrl(String TokenUrl)
Set 获取OAuth令牌URL
|
void |
setUserInfoUrl(String UserInfoUrl)
Set 获取OAuth用户信息URL
|
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, toJsonString
public ModifyOAuthSettingRequest()
public ModifyOAuthSettingRequest(ModifyOAuthSettingRequest source)
public Boolean getEnable()
public void setEnable(Boolean Enable)
Enable
- 是否开启OAuth认证,false-不开启,true-开启。public String getAuthMethod()
public void setAuthMethod(String AuthMethod)
AuthMethod
- OAuth认证方式。public String getClientId()
public void setClientId(String ClientId)
ClientId
- OAuth认证客户端Idpublic String getClientSecret()
public void setClientSecret(String ClientSecret)
ClientSecret
- OAuth认证客户端密钥public String getCodeUrl()
public void setCodeUrl(String CodeUrl)
CodeUrl
- 获取OAuth认证授权码URLpublic String getTokenUrl()
public void setTokenUrl(String TokenUrl)
TokenUrl
- 获取OAuth令牌URLpublic String getUserInfoUrl()
public void setUserInfoUrl(String UserInfoUrl)
UserInfoUrl
- 获取OAuth用户信息URLpublic String[] getScopes()
public void setScopes(String[] Scopes)
Scopes
- 使用Okta认证时指定范围。为空时默认使用 openid、profile、email。Copyright © 2024. All rights reserved.