Hey::heyPassHey::heyPass is a Perl interface with heyPass Centralized Authentication System. | |
Download |
Hey::heyPass Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dusty Wilson
- Publisher web site:
- http://search.cpan.org/~wilsond/
Hey::heyPass Tags
Hey::heyPass Description
Hey::heyPass is a Perl interface with heyPass Centralized Authentication System. SYNOPSIS # To send a user to login: use Hey::heyPass; $heyPass = Hey::heyPass->new($yourSiteId, $yourSiteKey); $login = $heyPass->beginSession({ successUrl => "http://$ENV{HTTP_HOST}/loginSuccess.cgi?sessionId=%s", failureUrl => "http://$ENV{HTTP_HOST}/loginFailure.cgi?sessionId=%s", cancelUrl => "http://$ENV{HTTP_HOST}/loginCancel.cgi?sessionId=%s" }); print "Location: $login->{loginUrl}nn"; # To logout the user: use Hey::heyPass; $heyPass = Hey::heyPass->new($yourSiteId, $yourSiteKey); $heyPass->endSession($sessionId); # To retrieve the session data of the user: use Hey::heyPass; $heyPass = Hey::heyPass->new($yourSiteId, $yourSiteKey); $session = $heyPass->getSession($sessionId); use Data::Dumper; print Dumper($session);Documentation: https://heypass.hey.nu/interface/guestdocs/If you want to have a heyPass siteId/siteKey for your application, please check to see if there is an automated way to do this (not yet at time of writing). If there still isn't, contact me (Dusty Wilson ) and I will get you started. Requirements: · LWP::UserAgent · XML::Simple · Crypt::SSLeay · Perl
Hey::heyPass Related Software