com.infusers.core.secrets.dto.OtherSecrets Maven / Gradle / Ivy
package com.infusers.core.secrets.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class OtherSecrets implements ISecrets {
private OtherSecrets() {
}
private static OtherSecrets secrets;
private String jwttokensecret;
private String jwtTokenExpiryHours = "1";
private double jwtTokenExpiryHoursNumber = 1;
public double getJwtTokenExpiryHoursNumber() {
return jwtTokenExpiryHoursNumber;
}
public void setJwtTokenExpiryHoursNumber(double jwtTokenExpiryHours) {
this.jwtTokenExpiryHoursNumber = jwtTokenExpiryHours;
}
public String getJwtTokenExpiryHours() {
return jwtTokenExpiryHours;
}
public void setJwtTokenExpiryHours(String jwtTokenExpiryHours) {
this.jwtTokenExpiryHours = jwtTokenExpiryHours;
}
public String getJwttokensecret() {
return jwttokensecret;
}
public void setJwttokensecret(String jwttokensecret) {
this.jwttokensecret = jwttokensecret;
}
public static final OtherSecrets getInstance() {
if(secrets ==null) {
secrets = new OtherSecrets();
}
return secrets;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy