Difference between revisions of "TNullAuthenticator"
From Ultibo.org
(Created page with "Return to Unit Authentication __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- === Function declarations =...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
''To be documented'' | ''To be documented'' | ||
− | |||
=== Class definitions === | === Class definitions === | ||
Line 14: | Line 13: | ||
+ | '''Null authenticator''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | |||
+ | <code>TNullAuthenticator = class(TAuthenticator)</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | |colspan="2"|Note: An authenticator module that accepts any username and password. | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | |colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | ||
+ | |- | ||
+ | | <code>function UsernamePrompt:String; override;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>function PasswordPrompt(const AUsername:String):String; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>function CheckUsername(const AUsername:String):LongWord; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function CheckPassword(const AUsername,APassword:String):LongWord; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Function declarations === | === Function declarations === | ||
Line 19: | Line 49: | ||
+ | '''TNullAuthenticator''' | ||
+ | |||
+ | <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.UsernamePrompt:String;</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.PasswordPrompt(const AUsername:String):String;</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.CheckPassword(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 01:21, 27 April 2018
Return to Unit Authentication
Description
To be documented
Class definitions
Null authenticator
TNullAuthenticator = class(TAuthenticator)
Note: An authenticator module that accepts any username and password. | |
public
| |
function UsernamePrompt:String; override;
|
|
function PasswordPrompt(const AUsername:String):String; override;
|
|
function CheckUsername(const AUsername:String):LongWord; override;
|
|
function CheckPassword(const AUsername,APassword:String):LongWord; override;
|
Function declarations
TNullAuthenticator
function TNullAuthenticator.UsernamePrompt:String;
Description: To be documented
Note | None documented |
---|
function TNullAuthenticator.PasswordPrompt(const AUsername:String):String;
Description: To be documented
Note | None documented |
---|
function TNullAuthenticator.CheckUsername(const AUsername:String):LongWord;
Description: To be documented
Note | None documented |
---|
function TNullAuthenticator.CheckPassword(const AUsername,APassword:String):LongWord;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference