public interface JwtSerializer
| Modifier and Type | Method and Description |
|---|---|
String |
serialize(Jwt jwt,
PrivateKey privateKey)
Write the JWT with an appropriate signature.
|
String serialize(Jwt jwt, PrivateKey privateKey) throws SigningException, UnsupportedAlgorithmException
jwt - the JWT object to serialize as signed JWTprivateKey - the private key to use to sign the JWTSigningException - if there was a problem signing the JWTUnsupportedAlgorithmException - if the algorithm in the JWT headers is not supportedCopyright © 2017 Atlassian. All rights reserved.