public interface AuthorizationHeaderGenerator
| Modifier and Type | Method and Description |
|---|---|
String |
generateAuthorizationHeader(Jwt jwt)
Generates an HTTP Authorization header that includes a signed JWT.
|
String generateAuthorizationHeader(Jwt jwt) throws InvalidTokenException, CannotRetrieveKeyException
jwt - the JWT object to be included in the authorization headerInvalidTokenException - if the JWT is invalid or cannot be serializedCannotRetrieveKeyException - if the private key is not availableCopyright © 2017 Atlassian. All rights reserved.