Difference between revisions of "TAuthenticator"

From Ultibo.org
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Return to [[Unit_Authentication|Unit Authentication]]
 
Return to [[Unit_Authentication|Unit Authentication]]
  
 +
 +
__TOC__
  
 
=== Description ===
 
=== Description ===
Line 6: Line 8:
  
 
''To be documented''
 
''To be documented''
 
  
 
=== Class definitions ===
 
=== Class definitions ===
 
----
 
----
  
 
'''Authenticator'''
 
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">
Line 79: Line 78:
 
----
 
----
  
 
'''TAuthenticator'''
 
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">

Latest revision as of 01:26, 27 April 2018

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