ClaimInfo Event
Fires once for each claim.
Syntax
type TClaimInfoEvent = procedure ( Sender: TObject; const Name: String; const Value: String; DataType: Integer ) of Object;
property OnClaimInfo: TClaimInfoEvent read FOnClaimInfo write FOnClaimInfo;
Remarks
When Decrypt, Verify or Parse is called this event will fire once for each claim in the JWT.
Name is the name of the claim.
Value is the value of the claim.
DataType specifies the JSON data type of the value. Possible values are:
- 0 (Object)
- 1 (Array)
- 2 (String)
- 3 (Number)
- 4 (Bool)
- 5 (Null)