Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Net::OpenID::Yadis::Service

Name Net::OpenID::Yadis::Service
Version 1.20
Located at /usr/share/perl5
File /usr/share/perl5/Net/OpenID/Yadis/Service.pm
Is Core No
Search CPAN for this module Net::OpenID::Yadis::Service
Documentation Net::OpenID::Yadis::Service
Module Details Net::OpenID::Yadis::Service

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 the Net::OpenID::Yadis manpage 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 the Net::OpenID::Yadis manpage for author, copyright and licensing information.


SEE ALSO

the Net::OpenID::Yadis manpage

Yadis website: http://yadis.org/

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026