Class TRALJWT
Unit
Declaration
type TRALJWT = class(TObject)
Description
Class for the JWT structure definition
Hierarchy
- TObject
- TRALJWT
Overview
Methods
| Public | constructor Create; |
| Public | destructor Destroy; override; |
| Public | function IsValidToken(const AValue: StringRAL = ''): boolean; |
| Protected | function CreateToken(AHeader, APayload: StringRAL; var ASignature: StringRAL): StringRAL; |
| Protected | function GetToken: StringRAL; |
| Protected | function signHS256(const ASource: StringRAL): StringRAL; |
| Protected | function signHS384(const ASource: StringRAL): StringRAL; |
| Protected | function signHS512(const ASource: StringRAL): StringRAL; |
| Protected | procedure SetToken(AValue: StringRAL); |
Properties
| Published | property Header: TRALJWTHeader read FHeader write FHeader; |
| Published | property Payload: TRALJWTParams read FPayload write FPayload; |
| Published | property Signature: StringRAL read FSignature; |
| Published | property SignSecretKey: StringRAL read FSignSecretKey write FSignSecretKey; |
| Published | property Token: StringRAL read GetToken write SetToken; |
Description
Methods
| Public | constructor Create; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | function IsValidToken(const AValue: StringRAL = ''): boolean; |
|
This item has no description. | |
| Protected | function CreateToken(AHeader, APayload: StringRAL; var ASignature: StringRAL): StringRAL; |
|
This item has no description. | |
| Protected | function GetToken: StringRAL; |
|
This item has no description. | |
| Protected | function signHS256(const ASource: StringRAL): StringRAL; |
|
This item has no description. | |
| Protected | function signHS384(const ASource: StringRAL): StringRAL; |
|
This item has no description. | |
| Protected | function signHS512(const ASource: StringRAL): StringRAL; |
|
This item has no description. | |
| Protected | procedure SetToken(AValue: StringRAL); |
|
This item has no description. | |
Properties
| Published | property Header: TRALJWTHeader read FHeader write FHeader; |
|
This item has no description. | |
| Published | property Payload: TRALJWTParams read FPayload write FPayload; |
|
This item has no description. | |
| Published | property Signature: StringRAL read FSignature; |
|
This item has no description. | |
| Published | property SignSecretKey: StringRAL read FSignSecretKey write FSignSecretKey; |
|
This item has no description. | |
| Published | property Token: StringRAL read GetToken write SetToken; |
|
This item has no description. | |
PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.