cn.com.gpic.ini.common.config.jwt.JWTPassToken Maven / Gradle / Ivy
The newest version!
package cn.com.gpic.ini.common.config.jwt;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 用来跳过验证的注解 PassToken
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface JWTPassToken {
boolean required() default true;
}