JWTClaim Type
The claim within the JWT.
Remarks
This type holds the claim information. The fields define the name, value, and data type of the claim value.
Fields
DataType int |
The data type of the claim value. This field specifies the JSON type of the claim value. Possible values are:
|
Name String |
The claim name. |
Value String |
The claim value. |
Constructors
public JWTClaim();
Creates a new claim with no name or value.
public JWTClaim(String name, String value);
Create a new claim. The DataType of the value will be a String.
public JWTClaim(String name, String value, int dataType);
Creates a new claim with the specified DataType.