Uses of Class
com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Packages that use JsonWebToken.Payload Package Description com.google.api.client.json.webtoken -
-
Uses of JsonWebToken.Payload in com.google.api.client.json.webtoken
Fields in com.google.api.client.json.webtoken declared as JsonWebToken.Payload Modifier and Type Field Description private JsonWebToken.Payload
JsonWebToken. payload
Payload.Fields in com.google.api.client.json.webtoken with type parameters of type JsonWebToken.Payload Modifier and Type Field Description private java.lang.Class<? extends JsonWebToken.Payload>
JsonWebSignature.Parser. payloadClass
Payload class to use for parsing.Methods in com.google.api.client.json.webtoken that return JsonWebToken.Payload Modifier and Type Method Description JsonWebToken.Payload
JsonWebToken.Payload. clone()
JsonWebToken.Payload
JsonWebToken. getPayload()
Returns the payload.JsonWebToken.Payload
JsonWebToken.Payload. set(java.lang.String fieldName, java.lang.Object value)
JsonWebToken.Payload
JsonWebToken.Payload. setAudience(java.lang.Object audience)
Sets the audience claim that identifies the audience that the JWT is intended for (should either be aString
or aList<String>
) ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setExpirationTimeSeconds(java.lang.Long expirationTimeSeconds)
Sets the expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setIssuedAtTimeSeconds(java.lang.Long issuedAtTimeSeconds)
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setIssuer(java.lang.String issuer)
Sets the issuer claim that identifies the principal that issued the JWT ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setJwtId(java.lang.String jwtId)
Sets the JWT ID claim that provides a unique identifier for the JWT ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setNotBeforeTimeSeconds(java.lang.Long notBeforeTimeSeconds)
Sets the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setSubject(java.lang.String subject)
Sets the subject claim identifying the principal that is the subject of the JWT ornull
for none.JsonWebToken.Payload
JsonWebToken.Payload. setType(java.lang.String type)
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set ornull
for none.Methods in com.google.api.client.json.webtoken that return types with arguments of type JsonWebToken.Payload Modifier and Type Method Description java.lang.Class<? extends JsonWebToken.Payload>
JsonWebSignature.Parser. getPayloadClass()
Returns the payload class to use for parsing.Methods in com.google.api.client.json.webtoken with parameters of type JsonWebToken.Payload Modifier and Type Method Description static java.lang.String
JsonWebSignature. signUsingRsaSha256(java.security.PrivateKey privateKey, JsonFactory jsonFactory, JsonWebSignature.Header header, JsonWebToken.Payload payload)
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.Method parameters in com.google.api.client.json.webtoken with type arguments of type JsonWebToken.Payload Modifier and Type Method Description JsonWebSignature.Parser
JsonWebSignature.Parser. setPayloadClass(java.lang.Class<? extends JsonWebToken.Payload> payloadClass)
Sets the payload class to use for parsing.Constructors in com.google.api.client.json.webtoken with parameters of type JsonWebToken.Payload Constructor Description JsonWebSignature(JsonWebSignature.Header header, JsonWebToken.Payload payload, byte[] signatureBytes, byte[] signedContentBytes)
JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)
-