Interface JwtFactory


  • public interface JwtFactory
    A JwtFactory encapsulates JWT production strategy into a re-usable and testable design.
    • Method Detail

      • create

        Promise<org.forgerock.json.jose.jwt.Jwt,​NoSuchSecretException> create​(Map<String,​Object> template)
        Produces a new Jwt.
        Parameters:
        template - The name-value pairs (claims) to put into a JWT structure.
        Returns:
        A new Jwt.