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.PayloadJsonWebToken. payloadPayload.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. payloadClassPayload class to use for parsing.Methods in com.google.api.client.json.webtoken that return JsonWebToken.Payload Modifier and Type Method Description JsonWebToken.PayloadJsonWebToken.Payload. clone()JsonWebToken.PayloadJsonWebToken. getPayload()Returns the payload.JsonWebToken.PayloadJsonWebToken.Payload. set(java.lang.String fieldName, java.lang.Object value)JsonWebToken.PayloadJsonWebToken.Payload. setAudience(java.lang.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.PayloadJsonWebToken.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 ornullfor none.JsonWebToken.PayloadJsonWebToken.Payload. setIssuedAtTimeSeconds(java.lang.Long issuedAtTimeSeconds)Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued ornullfor none.JsonWebToken.PayloadJsonWebToken.Payload. setIssuer(java.lang.String issuer)Sets the issuer claim that identifies the principal that issued the JWT ornullfor none.JsonWebToken.PayloadJsonWebToken.Payload. setJwtId(java.lang.String jwtId)Sets the JWT ID claim that provides a unique identifier for the JWT ornullfor none.JsonWebToken.PayloadJsonWebToken.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 ornullfor none.JsonWebToken.PayloadJsonWebToken.Payload. setSubject(java.lang.String subject)Sets the subject claim identifying the principal that is the subject of the JWT ornullfor none.JsonWebToken.PayloadJsonWebToken.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 ornullfor 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.StringJsonWebSignature. 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.ParserJsonWebSignature.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)
-