-
-
07 Jan 2008 04:58:33 UTC
- Distribution: Konfidi-Client
- Module version: v1.0.4
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (501 / 121 / 2)
- Kwalitee
Bus factor: 0- 97.60% Coverage
- License: apache_2_0
- Activity
24 month- Tools
- Download (8.48KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Error
- LWP::UserAgent
- Scalar::Util
- URI::Escape
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Konfidi::Client - Interact with a Konfidi TrustServer
DESCRIPTION
Konfidi is a trust framework that uses topical trust values from a social network of authenticated people. When you see a document (e.g email, webpage) from someone you do not know, but he/she is in the network, Konfidi will compute an inferred trust value for you. For more information, see http://konfidi.org
VERSION
Version 1.0.4
SYNOPSIS
use Konfidi::Client; use Error qw(:try); my $k = Konfidi::Client->new(); $k->server('http://test-server.konfidi.org'); try { my $response = $k->query($truster_40char_pgp_fingerprint, $trusted_40char_pgp_fingerprint, 'http://www.konfidi.org/ns/topics/0.0#internet-communication'); } catch Konfidi::Client::Error with { my $E = shift; die "Couldn't query the trustserver: $E"; }; ...
See Error for error handling documentation
METHODS
new()
Create a new
Konfidi::Client
server()
Get or set the server to use. Required. For example:
http://test-server.konfidi.org
strategy()
Get or set which trust propogation strategy to use. No default (server decides)
query($source, $sink, $topic)
Query the Konfidi Trustserver, using the default or set
server
andstrategy
values.$source
and$sink
must be 40 character long OpenPGP fingerprint identifiers. The only topic currently in use is'http://www.konfidi.org/ns/topics/0.0#internet-communication'
. Returns a Konfidi::Response or throws a Konfidi::Client::Error upon errorAUTHOR
Dave Brondsema,
<dave at brondsema.net>
BUGS
Please report any bugs or feature requests to
bug-konfidi-client at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Konfidi. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Konfidi::Client
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2006 Dave Brondsema
This program is released under the following license: Apache License, Version 2.0
Module Install Instructions
To install Konfidi::Client, copy and paste the appropriate command in to your terminal.
cpanm Konfidi::Client
perl -MCPAN -e shell install Konfidi::Client
For more information on module installation, please visit the detailed CPAN module installation guide.