WebService::Livedoor::Auth - [One line description of module's purpose here]
use WebService::Livedoor::Auth; my $auth = WebService::Livedoor::Auth->new({ app_key => '...', secret => '...', }); my $uri = $auth->uri_to_login({userdata => '...'}); use CGI; use WebService::Livedoor::Auth; my $q = CGI->new; my $auth = WebService::Livedoor::Auth->new({ app_key => '...', secret => '...', }); my $user = $auth->validate_response($q); if($user) { my $livedoor_id = $auth->get_livedoor_id($user); }
Tomohiro IKEBE <ikebe@shebang.jp>
<ikebe@shebang.jp>
Copyright (c) 2006, Tomohiro IKEBE <ikebe@shebang.jp>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install WebService::Livedoor::Auth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Livedoor::Auth
CPAN shell
perl -MCPAN -e shell install WebService::Livedoor::Auth
For more information on module installation, please visit the detailed CPAN module installation guide.