public class JsonWebTokenConstructors
JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)
public JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)| Parameters | |
|---|---|
| Name | Description |
header |
JsonWebToken.Headerheader |
payload |
JsonWebToken.Payloadpayload |
Methods
getHeader()
public JsonWebToken.Header getHeader()Returns the header.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
| Returns | |
|---|---|
| Type | Description |
JsonWebToken.Header |
|
getPayload()
public JsonWebToken.Payload getPayload()Returns the payload.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
| Returns | |
|---|---|
| Type | Description |
JsonWebToken.Payload |
|
toString()
public String toString()| Returns | |
|---|---|
| Type | Description |
String |
|