| Package | Description |
|---|---|
| com.google.api.client.auth.jsontoken |
| Modifier and Type | Method and Description |
|---|---|
JsonWebToken.Payload |
JsonWebToken.Payload.clone()
Deprecated.
|
JsonWebToken.Payload |
JsonWebToken.getPayload()
Deprecated.
Returns the payload.
|
JsonWebToken.Payload |
JsonWebToken.Payload.set(String fieldName,
Object value)
Deprecated.
|
JsonWebToken.Payload |
JsonWebToken.Payload.setAudience(String audience)
Deprecated.
Sets the audience claim that identifies the audience that the JWT is intended for or
null for none. |
JsonWebToken.Payload |
JsonWebToken.Payload.setExpirationTimeSeconds(Long expirationTimeSeconds)
Deprecated.
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.Payload |
JsonWebToken.Payload.setIssuedAtTimeSeconds(Long issuedAtTimeSeconds)
Deprecated.
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued or
null for none. |
JsonWebToken.Payload |
JsonWebToken.Payload.setIssuer(String issuer)
Deprecated.
Sets the issuer claim that identifies the principal that issued the JWT or
null for
none. |
JsonWebToken.Payload |
JsonWebToken.Payload.setJwtId(String jwtId)
Deprecated.
Sets the JWT ID claim that provides a unique identifier for the JWT or
null for none. |
JsonWebToken.Payload |
JsonWebToken.Payload.setNotBeforeTimeSeconds(Long notBeforeTimeSeconds)
Deprecated.
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.Payload |
JsonWebToken.Payload.setPrincipal(String principal)
Deprecated.
Sets the principal claim that identifies the subject of the JWT or
null for none. |
JsonWebToken.Payload |
JsonWebToken.Payload.setType(String type)
Deprecated.
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<? extends JsonWebToken.Payload> |
JsonWebSignature.Parser.getPayloadClass()
Deprecated.
Returns the payload class to use for parsing.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
RsaSHA256Signer.sign(PrivateKey privateKey,
com.google.api.client.json.JsonFactory jsonFactory,
JsonWebSignature.Header header,
JsonWebToken.Payload payload)
Deprecated.
(scheduled to be removed in 1.15) Use
JsonWebSignature.signUsingRsaSha256(java.security.PrivateKey, com.google.api.client.json.JsonFactory, com.google.api.client.json.webtoken.JsonWebSignature.Header, com.google.api.client.json.webtoken.JsonWebToken.Payload)
instead |
| Modifier and Type | Method and Description |
|---|---|
JsonWebSignature.Parser |
JsonWebSignature.Parser.setPayloadClass(Class<? extends JsonWebToken.Payload> payloadClass)
Deprecated.
Sets the payload class to use for parsing.
|
| Constructor and Description |
|---|
JsonWebSignature(JsonWebSignature.Header header,
JsonWebToken.Payload payload,
byte[] signatureBytes,
byte[] signedContentBytes)
Deprecated.
|
JsonWebToken(JsonWebToken.Header header,
JsonWebToken.Payload payload)
Deprecated.
|
Copyright © 2011-2013 Google. All Rights Reserved.