Difference between revisions of "Unit Authentication"

From Ultibo.org
Jump to: navigation, search
Line 26: Line 26:
 
----
 
----
  
''None defined''
+
'''Authentication check password event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TCheckPasswordEvent = function(ASource:TAuthenticator; const APassword:String):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 
 +
'''Authentication check username event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TCheckUsernameEvent = function(ASource:TAuthenticator; const AUsername:String):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 
 +
'''Authentication check user password event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TCheckUserPasswordEvent = function(ASource:TAuthenticator; const AUsername,APassword:String):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 
 +
'''Authentication check token event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>FCheckTokenEvent = function(ASource:TAuthenticator; const AToken,AValue:String):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 
 +
'''Authentication create token event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TCreateTokenEvent = function(ASource:TAuthenticator; const AValue:String; var AToken:String; ATimeout:LongWord):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 
 +
'''Authentication delete token event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TDeleteTokenEvent = function(ASource:TAuthenticator; const AToken,AValue:String):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 
 +
'''Authentication check key event'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TCheckKeyEvent = function(ASource:TAuthenticator; AData:Pointer; ASize:LongWord):LongWord of Object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
<br />
  
 
=== Class definitions ===
 
=== Class definitions ===

Revision as of 03:38, 23 October 2025

Return to Unit Reference


Description


Ultibo Authentication Interface unit

Constants



Authenticator flag AUTHENTICATOR_FLAG_*
AUTHENTICATOR_FLAG_NONE = $00000000;  


Type definitions


Authentication check password event

TCheckPasswordEvent = function(ASource:TAuthenticator; const APassword:String):LongWord of Object;

Authentication check username event

TCheckUsernameEvent = function(ASource:TAuthenticator; const AUsername:String):LongWord of Object;

Authentication check user password event

TCheckUserPasswordEvent = function(ASource:TAuthenticator; const AUsername,APassword:String):LongWord of Object;

Authentication check token event

FCheckTokenEvent = function(ASource:TAuthenticator; const AToken,AValue:String):LongWord of Object;

Authentication create token event

TCreateTokenEvent = function(ASource:TAuthenticator; const AValue:String; var AToken:String; ATimeout:LongWord):LongWord of Object;

Authentication delete token event

TDeleteTokenEvent = function(ASource:TAuthenticator; const AToken,AValue:String):LongWord of Object;

Authentication check key event

TCheckKeyEvent = function(ASource:TAuthenticator; AData:Pointer; ASize:LongWord):LongWord of Object;


Class definitions



Authentication specific classes

TAuthenticator = class(TObject)
TNullAuthenticator = class(TAuthenticator)


Public variables


None defined

Function declarations



Initialization functions

procedure AuthInit;
Description: To be documented
Note None documented


Return to Unit Reference