Class JsonWebToken
java.lang.Object
com.google.api.client.json.webtoken.JsonWebToken
- Direct Known Subclasses:
JsonWebSignature
JSON Web Token (JWT).
Implementation is not thread-safe.
- Since:
- 1.14 (since 1.7 as com.google.api.client.auth.jsontoken.JsonWebToken)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Header as specified in JWT Header.static class
Payload as specified in Reserved Claim Names. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JsonWebToken.Header
Header.private final JsonWebToken.Payload
Payload. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
header
Header. -
payload
Payload.
-
-
Constructor Details
-
JsonWebToken
- Parameters:
header
- headerpayload
- payload
-
-
Method Details
-
toString
-
getHeader
Returns the header.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
-
getPayload
Returns the payload.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
-