This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
A method based service class to handle user authentication, using an abstract username/password check and jwt afterwards. | |
It can be used as a base class to descent a front desk method based service to implement the actual web api. It is based | |
on the mORMot Framework. | |
For more info, please visit: | |
https://synopse.info/forum/viewtopic.php?id=5826 | |
Author: Damianos (dadim) | |
*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit MyTestClientMain; | |
interface | |
uses | |
{$IFDEF MSWINDOWS} Windows, Messages, {$ENDIF} | |
SysUtils, Variants, Classes, Graphics, Controls, Forms, | |
Dialogs, StdCtrls, | |
SynCommons, mORMot, mORMotHttpClient, MyTestInterface; |