| Package | Description |
|---|---|
| com.google.api.client.json.webtoken |
| Modifier and Type | Method and Description |
|---|---|
JsonWebToken |
JsonWebToken.Payload.clone()
|
JsonWebToken |
JsonWebToken.getPayload()
Returns the payload.
|
JsonWebToken |
JsonWebToken.Payload.set(String
|
JsonWebToken |
JsonWebToken.Payload.setAudience(Object
Sets the audience claim that identifies the audience that the JWT is intended for (should either be a
String or a
List<String>) or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setExpirationTimeSeconds(Long
Sets the expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setIssuedAtTimeSeconds(Long
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setIssuer(String
Sets the issuer claim that identifies the principal that issued the JWT or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setJwtId(String
Sets the JWT ID claim that provides a unique identifier for the JWT or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setNotBeforeTimeSeconds(Long
Sets the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setSubject(String
Sets the subject claim identifying the principal that is the subject of the JWT or
null for none.
|
JsonWebToken |
JsonWebToken.Payload.setType(String
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or
null for none.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
JsonWebSignature.Parser.getPayloadClass()
Returns the payload class to use for parsing.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JsonWebSignature.signUsingRsaSha256(PrivateKey
Signs a given JWS header and payload based on the given private key using RSA and SHA-256 as described in
JWS using RSA SHA-256.
|
| Modifier and Type | Method and Description |
|---|---|
JsonWebSignature |
JsonWebSignature.Parser.setPayloadClass(Class
Sets the payload class to use for parsing.
|
| Constructor and Description | |
|---|---|
JsonWebSignature(JsonWebSignature
|
|
JsonWebToken(JsonWebToken
|