[Horde_Token] element index

Package indexes

All elements
a e f g h p s t v _
_
top
Variable $_connected
Boolean indicating whether or not we have an open file descriptor.
Variable $_connected
Boolean indicating whether or not we're connected to the SQL server.
Variable $_db
Handle for the current database connection.
Variable $_fd
Handle for the open file descriptor.
Variable $_params
Hash of parameters necessary to use the chosen backend.
Variable $_write_db
Handle for the current database connection, used for writing. Defaults to the same handle as $_db if a separate write database is not required.
Method _connect
Opens a connection to the SQL server.
Method _connect
Opens a file descriptor to a new or existing file.
Method _disconnect
Closes the file descriptor.
a
top
Method add
Horde_Token::add() in Token.php
This is an abstract method that should be overridden by a subclass implementation. The base implementation allows all token values.
Method add
Method add
e
top
Method encodeRemoteAddress
Method exists
This is an abstract method that should be overridden by a subclass implementation. The base implementation allows all token values.
Method exists
Method exists
f
top
Method factory
Attempts to return a concrete Horde_Token instance based on $driver.
Page file.php
file.php in file.php
g
top
Method generateId
Generates a connection id and returns it.
h
top
Class Horde_Token
Horde_Token in Token.php
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.
Method Horde_Token
Constructor.
Method Horde_Token_file
Create a new file based token-tracking container.
Class Horde_Token_file
Horde_Token_file in file.php
Token tracking implementation for local files.
Class Horde_Token_sql
Horde_Token_sql in sql.php
Token tracking implementation for PHP's PEAR database abstraction layer.
Method Horde_Token_sql
Constructs a new SQL connection object.
p
top
Method purge
This is an abstract method that should be overridden by a subclass implementation. The base implementation allows all token values.
Method purge
Deletes all expired connection id's from the SQL server.
Method purge
Deletes all expired connection id's from the SQL server.
s
top
Method singleton
Attempts to return a reference to a concrete Horde_Token instance based on $driver.
Page sql.php
sql.php in sql.php
t
top
Page Token.php
Token.php in Token.php
v
top
Method verify
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.
a e f g h p s t v _