Package | Description |
---|---|
io.fusionauth.jwt | |
io.fusionauth.jwt.domain |
Modifier and Type | Method and Description |
---|---|
static Header |
JWTUtils.decodeHeader(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 |
---|---|
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.
|
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 |
---|---|
Header |
Header.set(String name,
String value)
Add a property to the JWT header.
|
Copyright © 2021. All rights reserved.