From 458e614f293c6f3634c3ec7c5cb77036b49b6261 Mon Sep 17 00:00:00 2001 From: hongqiaowei Date: Wed, 13 Oct 2021 16:13:19 +0800 Subject: [PATCH] Deprecate method --- fizz-core/src/main/java/we/plugin/auth/AbstractCustomAuth.java | 1 + fizz-core/src/main/java/we/plugin/auth/CustomAuth.java | 1 + 2 files changed, 2 insertions(+) diff --git a/fizz-core/src/main/java/we/plugin/auth/AbstractCustomAuth.java b/fizz-core/src/main/java/we/plugin/auth/AbstractCustomAuth.java index 8b15d15..ca1b21e 100644 --- a/fizz-core/src/main/java/we/plugin/auth/AbstractCustomAuth.java +++ b/fizz-core/src/main/java/we/plugin/auth/AbstractCustomAuth.java @@ -31,6 +31,7 @@ public abstract class AbstractCustomAuth implements CustomAuth { /** * @deprecated */ + @Deprecated @Override public Mono auth(ServerWebExchange exchange, String appId, String ip, String timestamp, String sign, App fizzAppConfig) { throw Utils.runtimeExceptionWithoutStack("don't implement me!"); diff --git a/fizz-core/src/main/java/we/plugin/auth/CustomAuth.java b/fizz-core/src/main/java/we/plugin/auth/CustomAuth.java index 5c3e16b..f4e4352 100644 --- a/fizz-core/src/main/java/we/plugin/auth/CustomAuth.java +++ b/fizz-core/src/main/java/we/plugin/auth/CustomAuth.java @@ -33,5 +33,6 @@ public interface CustomAuth { * * @deprecated */ + @Deprecated Mono auth(ServerWebExchange exchange, String appId, String ip, String timestamp, String sign, App fizzAppConfig); }