package ink.wgink.common.service.access;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName: IAccessWhiteListService
 * @Description: 访问白名单
 * @Author: wanggeng
 * @Date: 2022/7/27 11:02
 * @Version: 1.0
 */
public interface IAccessService {

    boolean hasPermission(HttpServletRequest request, Authentication authentication);

}
