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