Package | Description |
---|---|
io.fusionauth.jwt | |
io.fusionauth.jwt.domain |
Modifier and Type | Method and Description |
---|---|
JWT |
JWTDecoder.decode(String encodedJWT,
Map<String,Verifier> verifiers)
Decode the JWT using one of they provided verifiers.
|
JWT |
JWTDecoder.decode(String encodedJWT,
Map<String,Verifier> verifiers,
java.util.function.Function<Header,String> keyFunction)
Decode the JWT using one of they provided verifiers.
|
JWT |
JWTDecoder.decode(String encodedJWT,
Verifier... verifiers)
Decode the JWT using one of they provided verifiers.
|
static JWT |
JWTUtils.decodePayload(String encodedJWT)
WARNING!! This is not a secure or safe way to decode a JWT, this will not perform any validation on the signature.
|
Modifier and Type | Method and Description |
---|---|
String |
JWTEncoder.encode(JWT jwt,
Signer signer)
Encode the JWT to produce a dot separated encoded string that can be sent in an HTTP request header.
|
String |
JWTEncoder.encode(JWT jwt,
Signer signer,
java.util.function.Consumer<Header> consumer)
Encode the JWT to produce a dot separated encoded string that can be sent in an HTTP request header.
|
Modifier and Type | Method and Description |
---|---|
JWT |
JWT.addClaim(String name,
Object value)
Add a claim to this JWT.
|
JWT |
JWT.setAudience(Object audience) |
JWT |
JWT.setExpiration(java.time.ZonedDateTime expiration) |
JWT |
JWT.setIssuedAt(java.time.ZonedDateTime issuedAt) |
JWT |
JWT.setIssuer(String issuer) |
JWT |
JWT.setNotBefore(java.time.ZonedDateTime notBefore) |
JWT |
JWT.setSubject(String subject) |
JWT |
JWT.setUniqueId(String uniqueId) |
Copyright © 2021. All rights reserved.