The NamePassTokenCollector returns its tokens as an array with two elements: 'username', 'password'. Descendents of this abstract class must implement the collectName() and collectPassword() methods in addition to prompt inherited from TokenCollector.
Located in /harmoni/core/oki2/authentication/NamePassTokenCollector.abstract.php (line 26)
TokenCollector | --NamePassTokenCollector
Class | Description |
---|---|
BasicFormNamePassTokenCollector | The HTTPAuthNamePassTokenCollector prompts a user for their name and password by sending HTTP Authenticatio headers to the user. |
HTTPAuthNamePassTokenCollector | The HTTPAuthNamePassTokenCollector prompts a user for their name and password by sending HTTP Authenticatio headers to the user. |
Collect any tokens that the user may have supplied. Reply NULL if none are found. (This method uses the "Template Method" design pattern.)
Collect the name that the user may have supplied, Reply NULL if none are found.
Collect the password that the user may have supplied, Reply NULL if none are found.
Inherited From TokenCollector
TokenCollector::collect()
TokenCollector::collectTokens()
TokenCollector::prompt()
Documentation generated on Wed, 19 Sep 2007 10:25:14 -0400 by phpDocumentor 1.3.0RC3