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


