The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Net::OpenID::JanRain::Stores::PostgreSQLStore

This module contains the PostGreSQL OpenID Store.

Usage

    #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;