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