NAME
Net::Yadis::Discovery::Protocol::OpenID - Extension module that add proposal OpenID API to Net::Yadis::Discovery;
SYNOPSIS
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->openid_servers(['1.0','1.1']);
# Argument is Array ref of version numbers, and it's optional.
foreach my $srv (@xrd) { # Loop for Each Service in OpenID's Yadis Resourse Descriptor
print $srv->Type; # http://openid.net/signon/1.0 or http://openid.net/signon/1.1
print $srv->URI; # URI that resolves to a resource providing the service (scalar, array or array ref)
print $srv->Delegate; # To get OpenID's Delegate attribute
}
DESCRIPTION
Add Proposal API interface (http://yadis.org/wiki/Proposed_Yadis_API) to Net::Yadis::Discovery.
METHODS
- $disc->openid_servers( [$version, ...] )
-
Returns the OpenID servers as array hashes of Net::Yadis::Object::OpenID. Optionally accepts a array ref of versions supported by the client as a argument.
- $srv->Delegate
-
Net::Yadis::Object::OpenID's method to get OpenID's Delegate attribute.
COPYRIGHT, WARRANTY, AUTHOR
See Net::Yadis::Discovery for author, copyrignt and licensing information.
SEE ALSO
Yadis website: http://yadis.org/
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 64:
You forgot a '=back' before '=head1'