Changeset 15979 for lang/perl/Apache2-AuthenOpenID
- Timestamp:
- 07/18/08 11:53:50 (4 months ago)
- Location:
- lang/perl/Apache2-AuthenOpenID/trunk
- Files:
-
- 5 modified
-
Changes (modified) (1 diff)
-
MANIFEST (modified) (1 diff)
-
Makefile.PL (modified) (1 diff)
-
README (modified) (1 diff)
-
lib/Apache2/AuthenOpenID.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Apache2-AuthenOpenID/trunk/Changes
r11424 r15979 1 1 Revision history for Perl extension Apache2::AuthenOpenID. 2 3 0.07 Tue Jul 16 00:36:00 JST 2008 4 - merged patch from fujiwara, now get config with per_dir_config 5 - now you can logout accessing return_to url with query string 'logout'. 2 6 3 7 0.06 Mon May 12 11:15:00 JST 2008 -
lang/perl/Apache2-AuthenOpenID/trunk/MANIFEST
r11424 r15979 1 1 Changes 2 inc/Module/Install.pm 3 inc/Module/Install/Base.pm 4 inc/Module/Install/Can.pm 5 inc/Module/Install/Fetch.pm 6 inc/Module/Install/Include.pm 7 inc/Module/Install/Makefile.pm 8 inc/Module/Install/Metadata.pm 9 inc/Module/Install/Win32.pm 10 inc/Module/Install/WriteAll.pm 11 inc/Test/More.pm 2 12 lib/Apache2/AuthenOpenID.pm 3 13 Makefile.PL 4 14 MANIFEST 15 META.yml 5 16 README 6 17 t/Apache2-AuthenOpenID.t -
lang/perl/Apache2-AuthenOpenID/trunk/Makefile.PL
r11426 r15979 1 1 use strict; 2 use ExtUtils::MakeMaker; 3 use Apache::TestMM qw(test clean); 2 use inc::Module::Install; 3 4 BEGIN { 5 eval { 6 require ModPerl::MM; 7 require Apache::TestMM; 8 }; 9 if ( $@ ) { 10 exit 0; 11 } 12 Apache::TestMM->import( qw(test clean) ); 13 } 14 15 16 name 'Apache2-AuthenOpenID'; 17 all_from 'lib/Apache2/AuthenOpenID.pm'; 18 requires 'CGI' => 0; 19 requires 'Net::OpenID::Consumer' => 0.14; 20 requires 'Digest::HMAC_SHA1' => 1.01; 21 requires 'LWPx::ParanoidAgent' => 1.03; 22 requires 'Class::Data::Inheritable' => 0; 4 23 5 24 Apache::TestMM::filter_args(); 6 25 Apache::TestMM::generate_script('t/TEST'); 26 tests('t/*.t'); 7 27 8 WriteMakefile( 9 NAME => 'Apache2::AuthenOpenID', 10 VERSION_FROM => 'lib/Apache2/AuthenOpenID.pm', # finds $VERSION 11 PREREQ_PM => { 12 'Test::More' => 0.32, 13 'mod_perl2' => 2.000001, 14 'Apache::Test' => 0, 15 'CGI' => 0, 16 'Net::OpenID::Consumer' => 0.14, 17 'Digest::HMAC_SHA1' => 1.01, 18 'LWPx::ParanoidAgent' => 1.03, 19 'Class::Data::Inheritable' => 0, 20 }, # e.g., Module::Name => 1.1 21 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 22 (ABSTRACT_FROM => 'lib/Apache2/AuthenOpenID.pm', # retrieve abstract from module 23 AUTHOR => 'Nobuo Danjou <nobuo.danjou@gmail.com>') : ()), 24 ); 28 build_requires 'Test::More'; 29 30 auto_include; 31 WriteAll; -
lang/perl/Apache2-AuthenOpenID/trunk/README
r485 r15979 22 22 Nobuo Danjou, nobuo.danjou@gmail.com 23 23 24 COPYRIGHT AND LICENSE25 Copyright (C) 2007 by Nobuo Danjou26 27 This library is free software; you can redistribute it and/or modify it28 under the same terms as Perl itself, either Perl version 5.8.8 or, at29 your option, any later version of Perl 5 you may have available.30 -
lang/perl/Apache2-AuthenOpenID/trunk/lib/Apache2/AuthenOpenID.pm
r15866 r15979 20 20 use base qw( Class::Data::Inheritable ); 21 21 22 our $VERSION = '0.0 6';22 our $VERSION = '0.07'; 23 23 24 24 __PACKAGE__->mk_classdata( auth_type => 'openid' ); … … 110 110 111 111 $r->log->debug("$request_url is return_to"); 112 if (my $identity = $q->param('identity')) { 112 if ($r->args eq 'logout') { 113 $r->log->debug("remove cookies to logout."); 114 my $cookie_out = CGI::Cookie->new( 115 -name => $cookie_name, 116 -value => 'erase', 117 -expires => '-1d', 118 ); 119 $r->err_headers_out->add('Set-Cookie' => $cookie_out); 120 $r->headers_out->set('Location' => $cf->{'trust_root'}); 121 return Apache2::Const::REDIRECT; 122 } elsif (my $identity = $q->param('identity')) { 113 123 my $claimed_identity = $csr->claimed_identity($identity) 114 124 or return Apache2::Const::HTTP_UNAUTHORIZED; … … 264 274 Nobuo Danjou, L<nobuo.danjou@gmail.com> 265 275 266 =head1 COPYRIGHT AND LICENSE267 268 Copyright (C) 2007 by Nobuo Danjou269 270 This library is free software; you can redistribute it and/or modify271 it under the same terms as Perl itself, either Perl version 5.8.8 or,272 at your option, any later version of Perl 5 you may have available.273 274 275 276 =cut
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)