TAuthenticator

From Ultibo.org
Revision as of 01:26, 27 April 2018 by Ultibo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit Authentication


Description


To be documented

Class definitions



TAuthenticator = class(TObject)

public
constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FFlags:LongWord;  
 
procedure SetFlags(AFlags:LongWord);  
protected
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
property Flags:LongWord read FFlags write SetFlags;  
 
function UsernamePrompt:String; virtual;  
function PasswordPrompt(const AUsername:String):String; virtual;  
 
function CheckUsername(const AUsername:String):LongWord; virtual;  
function CheckPassword(const AUsername,APassword:String):LongWord; virtual;  


Function declarations



constructor TAuthenticator.Create;
Description: To be documented
Note None documented


destructor TAuthenticator.Destroy;
Description: To be documented
Note None documented


procedure TAuthenticator.SetFlags(AFlags:LongWord);
Description: To be documented
Note None documented


function TAuthenticator.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TAuthenticator.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TAuthenticator.UsernamePrompt:String;
Description: To be documented
Note None documented


function TAuthenticator.PasswordPrompt(const AUsername:String):String;
Description: To be documented
Note None documented


function TAuthenticator.CheckUsername(const AUsername:String):LongWord;
Description: To be documented
Note None documented


function TAuthenticator.CheckPassword(const AUsername,APassword:String):LongWord;
Description: To be documented
Note None documented


Return to Unit Reference