GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::OPENID::YADIS::SERVICE (3)

.ds Aq ’

NAME

Net::OpenID::Yadis::Service - Class representing an XRDS Service element

CONTENTS

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-><B>priorityB> The priority value for the service.
$srv-><B>TypeB> The URI representing the kind of service provided at the endpoint for this record.
$srv-><B>URIB> The URI of the service endpoint.
$srv-><B>extra_fieldB>( $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/>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::OPENID::YADIS::SERVICE (3) 2016-02-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.