The Horde_Token:: class provides a common abstracted interface into the various token generation mediums. It also includes all of the functions for retrieving, storing, and checking tokens.
$Horde: framework/Token/Token.php,v 1.33.6.18 2009/01/06 15:23:44 jan Exp $
Copyright 1999-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Token/Token.php (line 23)
Class | Description |
---|---|
![]() |
Token tracking implementation for local files. |
![]() |
Token tracking implementation for PHP's PEAR database abstraction layer. |
Constructor.
This is an abstract method that should be overridden by a subclass implementation. The base implementation allows all token values.
This is an abstract method that should be overridden by a subclass implementation. The base implementation allows all token values.
Attempts to return a concrete Horde_Token instance based on $driver.
Generates a connection id and returns it.
This is an abstract method that should be overridden by a subclass implementation. The base implementation allows all token values.
Attempts to return a reference to a concrete Horde_Token instance based on $driver.
It will only create a new instance if no Horde_Token instance with the same parameters currently exists.
This should be used if multiple types of token generators (and, thus, multiple Horde_Token instances) are required.
This method must be invoked as:
Checks if the given token has been previously used. First purges all expired tokens. Then retrieves current tokens for the given ip address. If the specified token was not found, adds it.
Documentation generated on Sun, 30 Jan 2011 05:22:55 +0000 by phpDocumentor 1.4.3