Difference between revisions of "TAuthenticator"

From Ultibo.org
Jump to: navigation, search
Line 1: Line 1:
 
Return to [[Unit_Authentication|Unit Authentication]]
 
Return to [[Unit_Authentication|Unit Authentication]]
 +
 +
__TOC__
  
  

Revision as of 01:03, 27 April 2018

Return to Unit Authentication


Description


To be documented


Class definitions



Authenticator

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



TAuthenticator

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