Class TokenCollector

Description

The TokenCollector is reponsible for prompting a user authentication tokens and recieving the response from the user.

  • version: $Id: TokenCollector.abstract.php,v 1.2 2005/03/23 21:26:40 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/oki2/authentication/TokenCollector.abstract.php (line 22)


	
			
Direct descendents
Class Description
NamePassTokenCollector 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.
Method Summary
mixed collect ()
mixed collectTokens ()
void prompt ()
Methods
collect (line 60)

Collect any tokens that the user may have supplied. Reply NULL if none are found.

  • since: 3/16/05
  • access: public
mixed collect ()

Redefined in descendants as:
  • NamePassTokenCollector::collect() : Collect any tokens that the user may have supplied. Reply NULL if none are found. (This method uses the "Template Method" design pattern.)
collectTokens (line 32)

Run the token collection sequence involving prompting for and collecting tokens.

  • since: 3/18/05
  • access: public
mixed collectTokens ()

Redefined in descendants as:
prompt (line 48)

Prompt the user to supply their tokens

  • since: 3/16/05
  • access: public
void prompt ()

Redefined in descendants as:

Documentation generated on Wed, 19 Sep 2007 10:27:31 -0400 by phpDocumentor 1.3.0RC3