| Package | Description |
|---|---|
| org.primeframework.jwt | |
| org.primeframework.jwt.domain |
| 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 © 2017. All rights reserved.