Net::OpenID::Server::Standalone::Config - configuration package for Nossa
used internally by Net::OpenID::Server::Standalone. The only sub is:
follows your $config as a hash of hashes consequentially.
used to store all your configuration like this:
our $config = { #users stuff users => { # nickname is a key 'the_your_nickname' => { # hashFunction from password, MD5 by default pass => 'md5_base64 of your password', # OpenID URL url => 'http://your.openid.url/', # function to recognise sites that you trust to be asking about your OpenID, you'd be asked about it otherwise. trust_root => sub{ shift =~ m/(blogger\.com|cpan\.org|ccmixter\.org|stickr\.com|mychores\.co\.uk\/openid|qdos\.com |demand-openid\.rpxnow\.com|livejournal\.com|sourceforge\.net)\/?$/x; }, # http://openid.net/specs/openid-simple-registration-extension-1_0.html sre => { 'sreg.nickname' => 'nickname_for_outside_world', 'sreg.fullname' => 'Your Fullname', }, }, }, # Where to redirect in case of wrong login/pass or the wrong OpenID url setupUrl => '/setup', # your id script URL idSvrUrl => '/id', # your OpenID server key serverSecret => 'some_random_sequence_put_your_own', # whether to redirect a user to the SSL URL of id requireSsl=> 0, # arguments for L<CGI::Session> session => { dsn =>"driver:DB_File;serializer:FreezeThaw", name => 'nossa_cookie', expire => '+1h', }, };
is at Net::Server::OpenID::Standalone.
To install Net::OpenID::Server::Standalone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OpenID::Server::Standalone
CPAN shell
perl -MCPAN -e shell install Net::OpenID::Server::Standalone
For more information on module installation, please visit the detailed CPAN module installation guide.