Difference between revisions of "TNullAuthenticator"
From Ultibo.org
| (3 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
''To be documented'' | ''To be documented'' | ||
| − | |||
=== Class definitions === | === Class definitions === | ||
---- | ---- | ||
| − | |||
| − | |||
<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 22: | Line 19: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
| − | |colspan="2"|Note: An authenticator module that accepts any username and password. | + | |colspan="2"|Note: An authenticator module that accepts any non blank password or username and password. |
|- | |- | ||
|colspan="2"| | |colspan="2"| | ||
| Line 28: | Line 25: | ||
|colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | |colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | ||
|- | |- | ||
| − | | <code> | + | | <code>constructor Create;</code> |
| style="width: 50%;"| | | style="width: 50%;"| | ||
|- | |- | ||
| − | | <code>function | + | |colspan="2"|<div style="font-family: monospace,courier;">'''protected'''</div> |
| + | |- | ||
| + | | <code>procedure SetMode(AMode:LongWord); override;</code> | ||
| + | | | ||
| + | |- | ||
| + | |colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | ||
| + | |- | ||
| + | | <code>function CheckPassword(const APassword:String):LongWord; override;</code> | ||
| | | | ||
|- | |- | ||
| Line 39: | Line 43: | ||
| | | | ||
|- | |- | ||
| − | | <code>function | + | | <code>function CheckUserPassword(const AUsername,APassword:String):LongWord; override;</code> |
| | | | ||
|- | |- | ||
| Line 50: | Line 54: | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| + | <pre style="border: 0; padding-bottom:0px;">constructor TNullAuthenticator.Create;</pre> | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;" | ||
| + | |- | ||
| + | ! Note | ||
| + | | None documented | ||
| + | |- | ||
| + | |} | ||
| + | </div></div> | ||
| + | <br /> | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| + | <pre style="border: 0; padding-bottom:0px;">procedure TNullAuthenticator.SetMode(AMode:LongWord);</pre> | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;" | ||
| + | |- | ||
| + | ! Note | ||
| + | | None documented | ||
| + | |- | ||
| + | |} | ||
| + | </div></div> | ||
| + | <br /> | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| + | <pre style="border: 0; padding-bottom:0px;">function TNullAuthenticator.CheckPassword(const APassword:String):LongWord;</pre> | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;" | ||
| + | |- | ||
| + | ! Note | ||
| + | | None documented | ||
| + | |- | ||
| + | |} | ||
| + | </div></div> | ||
| + | <br /> | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| + | <pre style="border: 0; padding-bottom:0px;">function TNullAuthenticator.CheckUsername(const AUsername:String):LongWord;</pre> | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;" | ||
| + | |- | ||
| + | ! Note | ||
| + | | None documented | ||
| + | |- | ||
| + | |} | ||
| + | </div></div> | ||
| + | <br /> | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| + | <pre style="border: 0; padding-bottom:0px;">function TNullAuthenticator.CheckUserPassword(const AUsername,APassword:String):LongWord;</pre> | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;" | ||
| + | |- | ||
| + | ! Note | ||
| + | | None documented | ||
| + | |- | ||
| + | |} | ||
| + | </div></div> | ||
| + | <br /> | ||
Return to [[Unit_Reference|Unit Reference]] | Return to [[Unit_Reference|Unit Reference]] | ||
Latest revision as of 22:32, 23 October 2025
Return to Unit Authentication
Description
To be documented
Class definitions
TNullAuthenticator = class(TAuthenticator)
| Note: An authenticator module that accepts any non blank password or username and password. | |
public
| |
constructor Create;
|
|
protected
| |
procedure SetMode(AMode:LongWord); override;
|
|
public
| |
function CheckPassword(const APassword:String):LongWord; override;
|
|
function CheckUsername(const AUsername:String):LongWord; override;
|
|
function CheckUserPassword(const AUsername,APassword:String):LongWord; override;
|
|
Function declarations
constructor TNullAuthenticator.Create;
Description: To be documented
| Note | None documented |
|---|
procedure TNullAuthenticator.SetMode(AMode:LongWord);
Description: To be documented
| Note | None documented |
|---|
function TNullAuthenticator.CheckPassword(const APassword:String):LongWord;
Description: To be documented
| Note | None documented |
|---|
function TNullAuthenticator.CheckUsername(const AUsername:String):LongWord;
Description: To be documented
| Note | None documented |
|---|
function TNullAuthenticator.CheckUserPassword(const AUsername,APassword:String):LongWord;
Description: To be documented
| Note | None documented |
|---|
Return to Unit Reference