package com.epmet.auth; import com.alibaba.fastjson.JSON; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org.springframework.core.io.buffer.DataBuffer; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.web.server.ServerWebExchange; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.nio.charset.StandardCharsets; public abstract class AuthProcessor { abstract ServerWebExchange auth(ServerWebExchange exchange, GatewayFilterChain chain); }