All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codingapi.springboot.security.redis.SecurityRedisProperties Maven / Gradle / Ivy

There is a newer version: 3.3.14
Show newest version
package com.codingapi.springboot.security.redis;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SecurityRedisProperties {


    /**
     * 是否启用redis
     */
    private boolean enable = true;

    /**
     * 15分钟有效期 1000*60*15=900000
     */
    private int validTime = 900000;

    /**
     * 10分钟后更换令牌 1000*60*10=600000
     */
    private int restTime = 600000;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy