cn.authing.sdk.java.dto.AppDto 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 AppDto {
/**
* App ID
*/
@JsonProperty("appId")
private String appId;
/**
* App 名称
*/
@JsonProperty("appName")
private String appName;
/**
* App Logo
*/
@JsonProperty("appLogo")
private String appLogo;
/**
* App 登录地址
*/
@JsonProperty("appLoginUrl")
private String appLoginUrl;
/**
* App 默认的登录策略
*/
@JsonProperty("appDefaultLoginStrategy")
private AppDefaultLoginStrategy appDefaultLoginStrategy;
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getAppName() {
return appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getAppLogo() {
return appLogo;
}
public void setAppLogo(String appLogo) {
this.appLogo = appLogo;
}
public String getAppLoginUrl() {
return appLoginUrl;
}
public void setAppLoginUrl(String appLoginUrl) {
this.appLoginUrl = appLoginUrl;
}
public AppDefaultLoginStrategy getAppDefaultLoginStrategy() {
return appDefaultLoginStrategy;
}
public void setAppDefaultLoginStrategy(AppDefaultLoginStrategy appDefaultLoginStrategy) {
this.appDefaultLoginStrategy = appDefaultLoginStrategy;
}
/**
* App 默认的登录策略
*/
public static enum AppDefaultLoginStrategy {
@JsonProperty("ALLOW_ALL")
ALLOW_ALL("ALLOW_ALL"),
@JsonProperty("DENY_ALL")
DENY_ALL("DENY_ALL"),
;
private String value;
AppDefaultLoginStrategy(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
}