Uses of Class
com.google.api.client.json.webtoken.JsonWebToken.Payload
Packages that use JsonWebToken.Payload
Package
Description
-
Uses of JsonWebToken.Payload in com.google.api.client.json.webtoken
Fields in com.google.api.client.json.webtoken declared as JsonWebToken.PayloadModifier and TypeFieldDescriptionprivate final JsonWebToken.PayloadJsonWebToken.payloadPayload.Fields in com.google.api.client.json.webtoken with type parameters of type JsonWebToken.PayloadModifier and TypeFieldDescriptionprivate Class<? extends JsonWebToken.Payload> JsonWebSignature.Parser.payloadClassPayload class to use for parsing.Methods in com.google.api.client.json.webtoken that return JsonWebToken.PayloadModifier and TypeMethodDescriptionJsonWebToken.Payload.clone()JsonWebToken.getPayload()Returns the payload.JsonWebToken.Payload.setAudience(Object audience) Sets the audience claim that identifies the audience that the JWT is intended for (should either be aStringor aList<String>) ornullfor none.JsonWebToken.Payload.setExpirationTimeSeconds(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 ornullfor none.JsonWebToken.Payload.setIssuedAtTimeSeconds(Long issuedAtTimeSeconds) Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued ornullfor none.Sets the issuer claim that identifies the principal that issued the JWT ornullfor none.Sets the JWT ID claim that provides a unique identifier for the JWT ornullfor none.JsonWebToken.Payload.setNotBeforeTimeSeconds(Long notBeforeTimeSeconds) Sets the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing ornullfor none.JsonWebToken.Payload.setSubject(String subject) Sets the subject claim identifying the principal that is the subject of the JWT ornullfor none.Sets the type claim that is used to declare a type for the contents of this JWT Claims Set ornullfor none.Methods in com.google.api.client.json.webtoken that return types with arguments of type JsonWebToken.PayloadModifier and TypeMethodDescriptionClass<? 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.PayloadModifier and TypeMethodDescriptionstatic StringJsonWebSignature.signUsingRsaSha256(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.PayloadModifier and TypeMethodDescriptionJsonWebSignature.Parser.setPayloadClass(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.PayloadModifierConstructorDescriptionJsonWebSignature(JsonWebSignature.Header header, JsonWebToken.Payload payload, byte[] signatureBytes, byte[] signedContentBytes) JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)