package link.at17.mid.tushare.robot.feishu.ablilities;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import link.at17.mid.tushare.robot.models.FeishuAppEnv;

import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;

/**
 * 飞书请求头校验注解
 * @author Barry
 *
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface FeishuAppVerify {

    Class<? extends FeishuAppEnv> value();
    
    /**
     * 飞书请求时间戳过期时间(秒)，默认 -1，即永不过期
     * @return
     */
    int timestampExpireIn() default -1;
}
