r44378 - in /branches/upstream/libauthen-bitcard-perl/current: Changes META.yml Makefile.PL README lib/Authen/Bitcard.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Sep 20 04:39:25 UTC 2009
Author: jawnsy-guest
Date: Sun Sep 20 04:39:16 2009
New Revision: 44378
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44378
Log:
[svn-upgrade] Integrating new upstream version, libauthen-bitcard-perl (0.87)
Modified:
branches/upstream/libauthen-bitcard-perl/current/Changes
branches/upstream/libauthen-bitcard-perl/current/META.yml
branches/upstream/libauthen-bitcard-perl/current/Makefile.PL
branches/upstream/libauthen-bitcard-perl/current/README
branches/upstream/libauthen-bitcard-perl/current/lib/Authen/Bitcard.pm
Modified: branches/upstream/libauthen-bitcard-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libauthen-bitcard-perl/current/Changes?rev=44378&op=diff
==============================================================================
--- branches/upstream/libauthen-bitcard-perl/current/Changes (original)
+++ branches/upstream/libauthen-bitcard-perl/current/Changes Sun Sep 20 04:39:16 2009
@@ -1,8 +1,13 @@
-0.86 - July 3rd 2006
+0.87 - September 14, 2009
+ - Add Class::ErrorHandler to the prereqs list
+ - Update documentation
+
+0.86 - July 4th 2006
- Add the Changes file to the distribution
- register_url method
- bump version to 4
- prepare to support "unconfirmed users"
+ - Use ExtUtils::MakeMaker instead of Module::Build
0.85 - July 21th 2005
- New API, works with http://www.bitcard.org/
Modified: branches/upstream/libauthen-bitcard-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libauthen-bitcard-perl/current/META.yml?rev=44378&op=diff
==============================================================================
--- branches/upstream/libauthen-bitcard-perl/current/META.yml (original)
+++ branches/upstream/libauthen-bitcard-perl/current/META.yml Sun Sep 20 04:39:16 2009
@@ -1,17 +1,27 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Authen-Bitcard
-version: 0.86
-version_from: lib/Authen/Bitcard.pm
-installdirs: site
+--- #YAML:1.0
+name: Authen-Bitcard
+version: 0.87
+abstract: Bitcard authentication verification
+author:
+ - Ask Bjoern Hansen <ask at develooper.com>
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
requires:
- Digest::SHA1: 0
- HTTP::Status: 0
- LWP::UserAgent: 0
- Math::BigInt: 0
- MIME::Base64: 0
- Test::More: 0
- URI: 1.22
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+ Class::ErrorHandler: 0
+ Digest::SHA1: 0
+ HTTP::Status: 0
+ LWP::UserAgent: 0
+ Math::BigInt: 0
+ MIME::Base64: 0
+ Test::More: 0
+ URI: 1.22
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.48
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: branches/upstream/libauthen-bitcard-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libauthen-bitcard-perl/current/Makefile.PL?rev=44378&op=diff
==============================================================================
--- branches/upstream/libauthen-bitcard-perl/current/Makefile.PL (original)
+++ branches/upstream/libauthen-bitcard-perl/current/Makefile.PL Sun Sep 20 04:39:16 2009
@@ -16,6 +16,7 @@
'LWP::UserAgent' => 0,
'HTTP::Status' => 0,
'URI' => 1.22,
+ 'Class::ErrorHandler' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
);
Modified: branches/upstream/libauthen-bitcard-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libauthen-bitcard-perl/current/README?rev=44378&op=diff
==============================================================================
--- branches/upstream/libauthen-bitcard-perl/current/README (original)
+++ branches/upstream/libauthen-bitcard-perl/current/README Sun Sep 20 04:39:16 2009
@@ -50,11 +50,34 @@
Returns the URL the user can edit his Bitcard account information at.
Also needs the "r" parameter like "login_url" and "logout_url".
+ $bc->register_url( r => $return_url )
+ Returns the URL for a user to register a new Bitcard account. Also needs
+ the "r" parameter as above.
+
$bc->key_url()
Get the URL from which the Bitcard public key can be obtained.
$bc->info_required( $string | [ array ref ] )
+ With info_required you specify what user data you require. The possible
+ fields are "username", "name" and "email" (see "verify" for more
+ information).
+
+ The method takes either a comma seperated string or a reference to an
+ array.
+
+ This must be called before "login_url".
+
+ NOTE: "name" is currently not implemented well in the Bitcard server, so
+ we recommend you require "username", but mark "name" as optional if you
+ want the "display name" of the user returned.
+
$bc->info_optional( $string | [ array ref ] )
+ As "info_required" except the Bitcard server will ask the user to allow
+ the information to be forwarded, but not require it to proceed.
+
+ The Bitcard server will always have a confirmed email address on file
+ before letting a user login.
+
$bc->verify($query)
Verify a Bitcard signature based on the other parameters given. The
signature and other parameters are found in the *$query* object, which
@@ -67,6 +90,10 @@
* id
The unique user id of the Bitcard user on your site. It's a 128bit
number as a 40 byte hex value.
+
+ The id is always returned when the verification was successful (all
+ other user data fields are optional, see "info_required" and
+ "info_optional").
* username
The unique username of the Bitcard user.
@@ -123,7 +150,7 @@
modify it under the same terms as Perl itself.
AUTHOR & COPYRIGHT
- Except where otherwise noted, *Authen::Bitcard* is Copyright 2004-2005
+ Except where otherwise noted, *Authen::Bitcard* is Copyright 2004-2006
Develooper LLC, ask at develooper.com.
Parts are Copyright 2004 Six Apart Ltd, cpan at sixapart.com.
Modified: branches/upstream/libauthen-bitcard-perl/current/lib/Authen/Bitcard.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libauthen-bitcard-perl/current/lib/Authen/Bitcard.pm?rev=44378&op=diff
==============================================================================
--- branches/upstream/libauthen-bitcard-perl/current/lib/Authen/Bitcard.pm (original)
+++ branches/upstream/libauthen-bitcard-perl/current/lib/Authen/Bitcard.pm Sun Sep 20 04:39:16 2009
@@ -10,7 +10,7 @@
use URI;
use URI::QueryParam;
-our $VERSION = '0.86';
+our $VERSION = '0.87';
sub new {
my $class = shift;
@@ -375,7 +375,7 @@
=head1 AUTHOR & COPYRIGHT
Except where otherwise noted, I<Authen::Bitcard> is Copyright
-2004-2005 Develooper LLC, ask at develooper.com.
+2004-2006 Develooper LLC, ask at develooper.com.
Parts are Copyright 2004 Six Apart Ltd, cpan at sixapart.com.
More information about the Pkg-perl-cvs-commits
mailing list