|
|
| |
Net::OpenID::JanRain::Stores::MySQLStore(3) |
User Contributed Perl Documentation |
Net::OpenID::JanRain::Stores::MySQLStore(3) |
This module contains the MySQL OpenID Store.
#Get a handle to your MySQL database:
my $dbh = DBI->connect("dbi:mysql:yourdb", $un, $pw);
#For the default table names, "settings", "associations", "nonces":
my $store = Net::OpenID::JanRain::Stores::MySQLStore->new($dbh);
#If you desire to modify the table names:
my $store = Net::OpenID::JanRain::Stores::MySQLStore->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. |