
com.bcgdv.jwt.models.SessionSecret Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of token-generation Show documentation
Show all versions of token-generation Show documentation
JWT token generation with encrypted payloads and CLI
package com.bcgdv.jwt.models;
import java.io.Serializable;
import java.util.Map;
/**
* Encapsulates the session secret that is encrypted by the generation service.
*/
public class SessionSecret extends Secret implements Serializable {
/**
* Pass secret into constructor as Map. Must contain context for token validation
* @param assertions a Map containing context variable;
*/
public SessionSecret(Map assertions) {
super(assertions);
this.tokenType= Token.Type.SESSION;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy