public class JsonWebToken
Constructors
JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)
public JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)
Parameters | |
---|---|
Name | Description |
header | JsonWebToken.Header header |
payload | JsonWebToken.Payload payload |
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 |