Class CreateUserOIDCConfigRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.CreateUserOIDCConfigRequest
-
public class CreateUserOIDCConfigRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateUserOIDCConfigRequest()CreateUserOIDCConfigRequest(CreateUserOIDCConfigRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorizationEndpoint()Get 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。StringgetClientId()Get 客户端ID,在OpenID Connect身份提供商注册的客户端ID。StringgetDescription()Get 描述StringgetIdentityKey()Get 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。StringgetIdentityUrl()Get 身份提供商URL。OpenID Connect身份提供商标识。 对应企业IdP提供的Openid-configuration中"issuer"字段的值。StringgetMappingFiled()Get 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段StringgetResponseMode()Get 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。StringgetResponseType()Get 授权请求Response type,固定值id_tokenString[]getScope()Get 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。voidsetAuthorizationEndpoint(String AuthorizationEndpoint)Set 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。voidsetClientId(String ClientId)Set 客户端ID,在OpenID Connect身份提供商注册的客户端ID。voidsetDescription(String Description)Set 描述voidsetIdentityKey(String IdentityKey)Set 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。voidsetIdentityUrl(String IdentityUrl)Set 身份提供商URL。OpenID Connect身份提供商标识。 对应企业IdP提供的Openid-configuration中"issuer"字段的值。voidsetMappingFiled(String MappingFiled)Set 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段voidsetResponseMode(String ResponseMode)Set 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。voidsetResponseType(String ResponseType)Set 授权请求Response type,固定值id_tokenvoidsetScope(String[] Scope)Set 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateUserOIDCConfigRequest
public CreateUserOIDCConfigRequest()
-
CreateUserOIDCConfigRequest
public CreateUserOIDCConfigRequest(CreateUserOIDCConfigRequest 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.
-
-
Method Detail
-
getIdentityUrl
public String getIdentityUrl()
Get 身份提供商URL。OpenID Connect身份提供商标识。 对应企业IdP提供的Openid-configuration中"issuer"字段的值。- Returns:
- IdentityUrl 身份提供商URL。OpenID Connect身份提供商标识。 对应企业IdP提供的Openid-configuration中"issuer"字段的值。
-
setIdentityUrl
public void setIdentityUrl(String IdentityUrl)
Set 身份提供商URL。OpenID Connect身份提供商标识。 对应企业IdP提供的Openid-configuration中"issuer"字段的值。- Parameters:
IdentityUrl- 身份提供商URL。OpenID Connect身份提供商标识。 对应企业IdP提供的Openid-configuration中"issuer"字段的值。
-
getIdentityKey
public String getIdentityKey()
Get 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。- Returns:
- IdentityKey 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。
-
setIdentityKey
public void setIdentityKey(String IdentityKey)
Set 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。- Parameters:
IdentityKey- 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。
-
getClientId
public String getClientId()
Get 客户端ID,在OpenID Connect身份提供商注册的客户端ID。- Returns:
- ClientId 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
-
setClientId
public void setClientId(String ClientId)
Set 客户端ID,在OpenID Connect身份提供商注册的客户端ID。- Parameters:
ClientId- 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
-
getAuthorizationEndpoint
public String getAuthorizationEndpoint()
Get 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。- Returns:
- AuthorizationEndpoint 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
-
setAuthorizationEndpoint
public void setAuthorizationEndpoint(String AuthorizationEndpoint)
Set 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。- Parameters:
AuthorizationEndpoint- 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
-
getResponseType
public String getResponseType()
Get 授权请求Response type,固定值id_token- Returns:
- ResponseType 授权请求Response type,固定值id_token
-
setResponseType
public void setResponseType(String ResponseType)
Set 授权请求Response type,固定值id_token- Parameters:
ResponseType- 授权请求Response type,固定值id_token
-
getResponseMode
public String getResponseMode()
Get 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。- Returns:
- ResponseMode 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
-
setResponseMode
public void setResponseMode(String ResponseMode)
Set 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。- Parameters:
ResponseMode- 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
-
getMappingFiled
public String getMappingFiled()
Get 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段- Returns:
- MappingFiled 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
-
setMappingFiled
public void setMappingFiled(String MappingFiled)
Set 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段- Parameters:
MappingFiled- 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
-
getScope
public String[] getScope()
Get 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。- Returns:
- Scope 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
-
setScope
public void setScope(String[] Scope)
Set 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。- Parameters:
Scope- 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
-
getDescription
public String getDescription()
Get 描述- Returns:
- Description 描述
-
setDescription
public void setDescription(String Description)
Set 描述- Parameters:
Description- 描述
-
-