@Immutable public final class RawJwt extends Object
It contains all payload claims and a subset of the headers. It does not contain any headers that depend on the key, such as "alg" or "kid", because these headers are chosen when the token is signed and encoded, and should not be chosen by the user. This ensures that the key can be changed without any changes to the user code.
| Modifier and Type | Class and Description |
|---|---|
static class |
RawJwt.Builder
Builder for RawJwt
|
| Modifier and Type | Method and Description |
|---|---|
static RawJwt.Builder |
newBuilder()
Returns a new RawJwt.Builder.
|
String |
toString()
Returns a brief description of a RawJwt object.
|
public static RawJwt.Builder newBuilder()