2024-11-29 10:49:32 +08:00

22 lines
495 B
Java

package com.ycwl.basic.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* ignore token validation
* <p>
* check all req except add this annotation
* this annotation could use in method and class type
* <p>
*
* @ahtuor yangchen
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD, ElementType.TYPE})
public @interface IgnoreToken {
}