Net::Yadis::Discovery::Protocol::LID - Extension module that add proposal LID API to Net::Yadis::Discovery;
use Net::Yadis::Discovery; my $disc = Net::Yadis::Discovery->new(); $disc->discover("http://id.example.com/") or Carp::croak($disc->err); my @openid_xrd = $disc->lid_servers(['1.0','2.0']); # Argument is Array ref of version numbers, and it's optional. foreach my $srv (@xrd) { # Loop for Each Service in LID's Yadis Resourse Descriptor print $srv->Type; # http://lid.netmesh.org/sso/1.0 or http://lid.netmesh.org/sso/2.0 print $srv->URI; # URI that resolves to a resource providing the service (scalar, array or array ref) }
Add Proposal API interface (http://yadis.org/wiki/Proposed_Yadis_API) to Net::Yadis::Discovery.
Returns the LID servers as array hashes of Net::Yadis::Object. Optionally accepts a array ref of versions supported by the client as a argument.
See Net::Yadis::Discovery for author, copyrignt and licensing information.
Net::Yadis::Discovery
Yadis website: http://yadis.org/
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Net::Yadis::Discovery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Yadis::Discovery
CPAN shell
perl -MCPAN -e shell install Net::Yadis::Discovery
For more information on module installation, please visit the detailed CPAN module installation guide.