Class TRALServerJWTAuth
Unit
Declaration
type TRALServerJWTAuth = class(TRALAuthServer)
Description
JWT Authenticator for server components
Hierarchy
- TObject
- TPersistent
- TComponent
- TRALComponent
- TRALAuthentication
- TRALAuthServer
- TRALServerJWTAuth
Overview
Methods
| Public | constructor Create(AOwner: TComponent); override; |
| Public | destructor Destroy; override; |
| Public | function GetToken(var AJSONParams: StringRAL): StringRAL; |
| Public | function RenewToken(const AToken: StringRAL; var AJSONParams: StringRAL): StringRAL; |
| Protected | function GetAuthRoute: TRALBaseRoute; override; |
| Public | procedure BeforeValidate(ARequest: TRALRequest; AResponse: TRALResponse); override; |
| Public | procedure Validate(ARequest: TRALRequest; AResponse: TRALResponse); override; |
| Protected | procedure SetAuthRoute(ARoute: TRALBaseRoute); override; |
Properties
| Published | property Algorithm: TRALJWTAlgorithm read FAlgorithm write FAlgorithm; |
| Published | property AuthRoute; |
| Published | property ExpirationSecs: IntegerRAL read FExpSecs write FExpSecs; |
| Published | property JSONKey: StringRAL read FJSONKey write FJSONKey; |
| Published | property OnGetToken: TRALOnTokenJWT read FOnGetToken write FOnGetToken; |
| Published | property OnValidate: TRALOnTokenJWT read FOnValidate write FOnValidate; |
| Published | property SignSecretKey: StringRAL read FSignSecretKey write FSignSecretKey; |
Description
Methods
| Public | constructor Create(AOwner: TComponent); override; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | function GetToken(var AJSONParams: StringRAL): StringRAL; |
|
This item has no description. | |
| Public | function RenewToken(const AToken: StringRAL; var AJSONParams: StringRAL): StringRAL; |
|
This item has no description. | |
| Protected | function GetAuthRoute: TRALBaseRoute; override; |
|
This item has no description. | |
| Public | procedure BeforeValidate(ARequest: TRALRequest; AResponse: TRALResponse); override; |
|
This item has no description. | |
| Public | procedure Validate(ARequest: TRALRequest; AResponse: TRALResponse); override; |
|
Validation process of the authentication is made here | |
| Protected | procedure SetAuthRoute(ARoute: TRALBaseRoute); override; |
|
This item has no description. | |
Properties
| Published | property Algorithm: TRALJWTAlgorithm read FAlgorithm write FAlgorithm; |
|
This item has no description. | |
| Published | property AuthRoute; |
|
This item has no description. | |
| Published | property ExpirationSecs: IntegerRAL read FExpSecs write FExpSecs; |
|
This item has no description. | |
| Published | property JSONKey: StringRAL read FJSONKey write FJSONKey; |
|
This item has no description. | |
| Published | property OnGetToken: TRALOnTokenJWT read FOnGetToken write FOnGetToken; |
|
This item has no description. | |
| Published | property OnValidate: TRALOnTokenJWT read FOnValidate write FOnValidate; |
|
This item has no description. | |
| Published | property SignSecretKey: StringRAL read FSignSecretKey write FSignSecretKey; |
|
This item has no description. | |
PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.