Net::OpenID::Yadis::Service(3pmUser Contributed Perl DocumentatioNet::OpenID::Yadis::Service(3pm)
NAME
Net::OpenID::Yadis::Service - Class representing an XRDS Service element
VERSION
version 1.20
SYNOPSIS
use Net::OpenID::Yadis;
my $disc = Net::OpenID::Yadis->new();
my @xrd = $disc->discover("http://id.example.com/") or Carp::croak($disc->err);
foreach my $srv (@xrd) { # Loop for Each Service in Yadis Resourse Descriptor
print $srv->priority; # Service priority (sorted)
print $srv->Type; # Identifier of some version of some service (scalar, array or array ref)
print $srv->URI; # URI that resolves to a resource providing the service (scalar, array or array ref)
print $srv->extra_field("Delegate","http://openid.net/xmlns/1.0");
# Extra field of some service
}
DESCRIPTION
After Net::OpenID::Yadis performs discovery, the result is a list of instances of this
class.
METHODS
$srv->priority
The priority value for the service.
$srv->Type
The URI representing the kind of service provided at the endpoint for this record.
$srv->URI
The URI of the service endpoint.
$srv->extra_field( $fieldname , $namespace )
Fetch the value of extension fields not provided directly by this class.
If $namespace is not specified, the default is the namespace whose name is the empty
string.
COPYRIGHT, WARRANTY, AUTHOR
See Net::OpenID::Yadis for author, copyright and licensing information.
SEE ALSO
Net::OpenID::Yadis
Yadis website: <http://yadis.org/>
perl v5.22.1 2016-02-13 Net::OpenID::Yadis::Service(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-21 17:59 @216.73.216.164 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)