com.iframework.uaa.auth.autoconfigure.properties.AuthTokenProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of if-uaa-auth-spring-boot-autoconfigure Show documentation
Show all versions of if-uaa-auth-spring-boot-autoconfigure Show documentation
基础框架功能,为spring boot starter 定制增强
The newest version!
package com.iframework.uaa.auth.autoconfigure.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "uaa.auth.token")
public class AuthTokenProperties {
private String privateKey;
private Integer hours = 12;
public String getPrivateKey() {
return privateKey;
}
public void setPrivateKey(String privateKey) {
this.privateKey = privateKey;
}
public Integer getHours() {
return hours;
}
public void setHours(Integer hours) {
this.hours = hours;
}
}