The unique user id of the Bitcard user on your site. Its 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).
The unique username of the Bitcard user.
The users display name.
The users email address.
The timestamp at which the signature was generated, expressed as seconds since the epoch.
If $cache is a CODE reference, it is treated as a callback that should return the public key. The callback will be passed two arguments: the Authen::TypeKey object, and the URI of the key. It should return a hash reference with the p, g, q, and pub_key keys set to Math::BigInt objects representing the pieces of the DSA public key.
Otherwise, $cache should be the path to a local file where the public key will be cached/mirrored.
If $cache is not set, the key is not cached. By default, no caching
CW$bc->skip_expiry_check([ CW$boolean ])
Get/set a value indicating whether verify should check the expiration
date and time in the TypeKey parameters. The default is to check the
expiration date and time.
CW$bc->expires([ CW$secs ])
Get/set the amount of time at which a Bitcard signature is intended to expire.
The default value is 600 seconds, i.e. 10 minutes.
CW$bc->ua([ CW$user_agent ])
Get/set the LWP::UserAgent-like object which will be used to retrieve the
regkeys from the network. Needs to support mirror and get methods.
By default, LWP::UserAgent is used, and this method as a getter returns
undef unless the user agent has been previously set.
Get/set the version of the Bitcard protocol to use. The default version
CW$bc->api_secret( CW$secret )
Get/set the api_secret (needed for some API calls, add_invite for
Returns a hashref with invite_url and invite_key. Can be used
for invitation only sites where you have to login before you can
access the site.
Authen::Bitcard is distributed under the Apache License; see the LICENSE file in the distribution for details.
Except where otherwise noted, Authen::Bitcard is Copyright 2004-2010 Develooper LLC, email@example.com.
Parts are Copyright 2004 Six Apart Ltd, firstname.lastname@example.org.
All rights reserved.
|perl v5.20.3||AUTHEN::BITCARD (3)||2011-06-11|