|
|
| |
Net::OpenID::JanRain::Stores::SQLiteStore(3) |
User Contributed Perl Documentation |
Net::OpenID::JanRain::Stores::SQLiteStore(3) |
This store uses the SQLite2 database to store data for the JanRain OpenID
Consumer and Server.
#Get a handle to your SQLite database:
my $dbh = DBI->connect("dbi:SQLite2:yourdb", $un, $pw);
#For the default table names, "settings", "associations", "nonces":
my $store = Net::OpenID::JanRain::Stores::SQLiteStore->new($dbh);
#If you desire to modify the table names:
my $store = Net::OpenID::JanRain::Stores::SQLiteStore->new($dbh,
{settings_table => "ajustes",
associations_table => "asociaciones",
nonces_table => "absurdos"});
#You need not modify all the table names.
#If the database is new and these tables do not yet exist:
$store->createTables;
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |