| Package | Description |
|---|---|
| com.atlassian.jwt | |
| com.atlassian.jwt.exception | |
| com.atlassian.jwt.reader |
| Modifier and Type | Method and Description |
|---|---|
Jwt |
JwtParser.parse(String jwt)
Parses the given jwt token and returns the decoded claims body
|
Jwt |
JwtService.verifyJwt(String jwt,
Map<String,? extends JwtClaimVerifier> claimVerifiers)
Verify an incoming JWT.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JwtMissingClaimException |
| Modifier and Type | Method and Description |
|---|---|
JwtReader |
JwtReaderFactory.getReader(String jwt)
Returns a jwt reader to be used for verifying tokens signed using a symmetric algorithm.
|
JwtReader |
JwtReaderFactory.getReader(String jwt,
Date date)
This method is similar to
JwtReaderFactory.getReader(String) but allows to specify the Date to be used
when operating with the time-based claims of the JWT message. |
JwtReader |
JwtReaderFactory.getReader(String jwt,
RSAPublicKey publicKey)
Returns a jwt reader that should be used for verifying tokens signed using an asymmetric algorithm.
|
JwtReader |
JwtReaderFactory.getReader(String jwt,
RSAPublicKey publicKey,
Date date)
This method is similar to
JwtReaderFactory.getReader(String, RSAPublicKey) but allows to specify the Date to be used
when operating with the time-based claims of the JWT message. |
Jwt |
JwtReader.read(String jwt,
Map<String,? extends JwtClaimVerifier> requiredClaims)
Deprecated.
|
Jwt |
JwtReader.readAndVerify(String jwt,
Map<String,? extends JwtClaimVerifier> requiredClaims)
|
Jwt |
JwtReader.readUnverified(String jwt)
|
void |
JwtClaimVerifier.verify(Object claim)
Assert that the claimed value is valid.
|
Copyright © 2023 Atlassian. All rights reserved.