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

Net::OpenID::JanRain::Stores::MySQLStore

This module contains the MySQL OpenID Store.

Usage

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

}