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

com.infusers.core.secrets.dto.OtherSecrets Maven / Gradle / Ivy

There is a newer version: 2024.12.0008
Show newest version
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