
com.bcgdv.jwt.models.ServerSecret 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 server secret that is encrypted by the generation service.
*/
public class ServerSecret extends Secret implements Serializable {
/**
* Pass secret into constructor as Map. Must contain "context" for token validation
* @param assertions a Map containing assertions as Strings
*/
public ServerSecret(Map assertions) {
super(assertions);
this.tokenType= Token.Type.SERVER;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy