package com.red.circle.console.infra.framework.security;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 安全验证配置.
 *
 * @author pengliang on 2023/10/8
 */
@Data
@ConfigurationProperties(ConsoleSecurityProperties.PREFIX)
public class ConsoleSecurityProperties {

  public final static String PREFIX = "red-circle.console.security";

  /**
   * 忽略不被鉴权url.
   */
  private List<String> ignoreUrls = new ArrayList<>();

}
