Interface JwtEncoder
- All Known Implementing Classes:
DefaultJwtEncoder
public interface JwtEncoder
Signs tokens.
Jwt jwt = encoder.encode(JwtEncoderParameters.from(claims));
String token = jwt.getTokenValue();
-
Method Summary
-
Method Details
-
encode
The signed token.
JwtEncodingException: when there is no key to sign it with
-