Package org.forgerock.openig.filter
Interface JwtFactory
-
public interface JwtFactory
AJwtFactory
encapsulates JWT production strategy into a re-usable and testable design.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<org.forgerock.json.jose.jwt.Jwt,NoSuchSecretException>
create(Map<String,Object> template)
Produces a newJwt
.
-
-
-
Method Detail
-
create
Promise<org.forgerock.json.jose.jwt.Jwt,NoSuchSecretException> create(Map<String,Object> template)
Produces a newJwt
.- Parameters:
template
- The name-value pairs (claims) to put into a JWT structure.- Returns:
- A new
Jwt
.
-
-