cn.authing.sdk.java.dto.CreateExtIdpConnDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CreateExtIdpConnDto {
/**
* 身份源连接 ID
*/
@JsonProperty("extIdpId")
private String extIdpId;
/**
* 身份源连接类型
*/
@JsonProperty("type")
private Type type;
/**
* 身份源连接标识
*/
@JsonProperty("identifier")
private String identifier;
/**
* 连接在登录页的显示名称
*/
@JsonProperty("displayName")
private String displayName;
/**
* 连接的自定义配置信息
*/
@JsonProperty("fields")
private Object fields;
/**
* 是否只支持登录
*/
@JsonProperty("loginOnly")
private Boolean loginOnly;
/**
* 身份源图标
*/
@JsonProperty("logo")
private String logo;
/**
* 租户 ID
*/
@JsonProperty("tenantId")
private String tenantId;
public String getExtIdpId() {
return extIdpId;
}
public void setExtIdpId(String extIdpId) {
this.extIdpId = extIdpId;
}
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
public String getIdentifier() {
return identifier;
}
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public Object getFields() {
return fields;
}
public void setFields(Object fields) {
this.fields = fields;
}
public Boolean getLoginOnly() {
return loginOnly;
}
public void setLoginOnly(Boolean loginOnly) {
this.loginOnly = loginOnly;
}
public String getLogo() {
return logo;
}
public void setLogo(String logo) {
this.logo = logo;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
/**
* 身份源连接类型
*/
public static enum Type {
@JsonProperty("oidc")
OIDC("oidc"),
@JsonProperty("oauth")
OAUTH("oauth"),
@JsonProperty("saml")
SAML("saml"),
@JsonProperty("ldap")
LDAP("ldap"),
@JsonProperty("ad")
AD("ad"),
@JsonProperty("cas")
CAS("cas"),
@JsonProperty("azure-ad")
AZURE_AD("azure-ad"),
@JsonProperty("alipay")
ALIPAY("alipay"),
@JsonProperty("facebook")
FACEBOOK("facebook"),
@JsonProperty("facebook:mobile")
FACEBOOK_MOBILE("facebook:mobile"),
@JsonProperty("twitter")
TWITTER("twitter"),
@JsonProperty("google:mobile")
GOOGLE_MOBILE("google:mobile"),
@JsonProperty("google")
GOOGLE("google"),
@JsonProperty("wechat:pc")
WECHAT_PC("wechat:pc"),
@JsonProperty("wechat:mobile")
WECHAT_MOBILE("wechat:mobile"),
@JsonProperty("wechat:webpage-authorization")
WECHAT_WEBPAGE_AUTHORIZATION("wechat:webpage-authorization"),
@JsonProperty("wechatmp-qrcode")
WECHATMP_QRCODE("wechatmp-qrcode"),
@JsonProperty("wechat:miniprogram:default")
WECHAT_MINIPROGRAM_DEFAULT("wechat:miniprogram:default"),
@JsonProperty("wechat:miniprogram:qrconnect")
WECHAT_MINIPROGRAM_QRCONNECT("wechat:miniprogram:qrconnect"),
@JsonProperty("wechat:miniprogram:app-launch")
WECHAT_MINIPROGRAM_APP_LAUNCH("wechat:miniprogram:app-launch"),
@JsonProperty("github")
GITHUB("github"),
@JsonProperty("github:mobile")
GITHUB_MOBILE("github:mobile"),
@JsonProperty("qq")
QQ("qq"),
@JsonProperty("qq:mobile")
QQ_MOBILE("qq:mobile"),
@JsonProperty("wechatwork:corp:qrconnect")
WECHATWORK_CORP_QRCONNECT("wechatwork:corp:qrconnect"),
@JsonProperty("wechatwork:agency:qrconnect")
WECHATWORK_AGENCY_QRCONNECT("wechatwork:agency:qrconnect"),
@JsonProperty("wechatwork:service-provider:qrconnect")
WECHATWORK_SERVICE_PROVIDER_QRCONNECT("wechatwork:service-provider:qrconnect"),
@JsonProperty("wechatwork:mobile")
WECHATWORK_MOBILE("wechatwork:mobile"),
@JsonProperty("wechatwork:agency:mobile")
WECHATWORK_AGENCY_MOBILE("wechatwork:agency:mobile"),
@JsonProperty("dingtalk")
DINGTALK("dingtalk"),
@JsonProperty("dingtalk:mobile")
DINGTALK_MOBILE("dingtalk:mobile"),
@JsonProperty("dingtalk:provider")
DINGTALK_PROVIDER("dingtalk:provider"),
@JsonProperty("weibo")
WEIBO("weibo"),
@JsonProperty("weibo:mobile")
WEIBO_MOBILE("weibo:mobile"),
@JsonProperty("apple")
APPLE("apple"),
@JsonProperty("apple:web")
APPLE_WEB("apple:web"),
@JsonProperty("baidu")
BAIDU("baidu"),
@JsonProperty("baidu:mobile")
BAIDU_MOBILE("baidu:mobile"),
@JsonProperty("lark-internal")
LARK_INTERNAL("lark-internal"),
@JsonProperty("lark-public")
LARK_PUBLIC("lark-public"),
@JsonProperty("lark-block")
LARK_BLOCK("lark-block"),
@JsonProperty("gitlab")
GITLAB("gitlab"),
@JsonProperty("gitlab:mobile")
GITLAB_MOBILE("gitlab:mobile"),
@JsonProperty("linkedin")
LINKEDIN("linkedin"),
@JsonProperty("linkedin:mobile")
LINKEDIN_MOBILE("linkedin:mobile"),
@JsonProperty("slack")
SLACK("slack"),
@JsonProperty("slack:mobile")
SLACK_MOBILE("slack:mobile"),
@JsonProperty("yidun")
YIDUN("yidun"),
@JsonProperty("qingcloud")
QINGCLOUD("qingcloud"),
@JsonProperty("gitee")
GITEE("gitee"),
@JsonProperty("gitee:mobile")
GITEE_MOBILE("gitee:mobile"),
@JsonProperty("instagram")
INSTAGRAM("instagram"),
@JsonProperty("welink")
WELINK("welink"),
@JsonProperty("ad-kerberos")
AD_KERBEROS("ad-kerberos"),
@JsonProperty("huawei")
HUAWEI("huawei"),
@JsonProperty("huawei:mobile")
HUAWEI_MOBILE("huawei:mobile"),
@JsonProperty("honor")
HONOR("honor"),
@JsonProperty("xiaomi")
XIAOMI("xiaomi"),
@JsonProperty("xiaomi:mobile")
XIAOMI_MOBILE("xiaomi:mobile"),
@JsonProperty("aws")
AWS("aws"),
@JsonProperty("amazon")
AMAZON("amazon"),
@JsonProperty("amazon:mobile")
AMAZON_MOBILE("amazon:mobile"),
@JsonProperty("douyin:mobile")
DOUYIN_MOBILE("douyin:mobile"),
@JsonProperty("kuaishou:mobile")
KUAISHOU_MOBILE("kuaishou:mobile"),
@JsonProperty("line:mobile")
LINE_MOBILE("line:mobile"),
@JsonProperty("oppo:mobile")
OPPO_MOBILE("oppo:mobile"),
@JsonProperty("wechatwork:qrconnect:of:authing:agency")
WECHATWORK_QRCONNECT_OF_AUTHING_AGENCY("wechatwork:qrconnect:of:authing:agency"),
@JsonProperty("sdbz")
SDBZ("sdbz"),
;
private String value;
Type(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
}