Net::Google::FederatedLoginGoogle Federated Login module | |
Download |
Net::Google::FederatedLogin Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Glenn Fowler
- Publisher web site:
- http://search.cpan.org/~cebjyre/
Net::Google::FederatedLogin Tags
Net::Google::FederatedLogin Description
Net::Google::FederatedLogin is a Google Federated Login module - see http://code.google.com/apis/accounts/docs/OpenID.htmlSYNOPSISSending user to be authenticated: my $claimed = 'example@gmail.com'; # or, where example.com is a Google Apps domain # 'example.com' (bare domain) # or 'user@example.com' (email address) # or 'http://example.com/openid?id=' (already known id) my $g = Net::Google::FederatedLogin->new(claimed_id => $claimed, return_to => 'https://example.com/auth'); my $auth_url = $g->get_auth_url();Verifying the user was correctly authenticated: my $g = Net::Google::FederatedLogin->new(cgi => $cgi, return_to => 'https://example.com/auth'); my $id = $g->verify_auth(); # $id is the verified identity, or false if it wasn't verified (eg by the user handcrafting the url, or disallowing access)Product's homepage
Net::Google::FederatedLogin Related Software