All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.dto.AppDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
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;
        }
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy