{
    "mode": "perldoc",
    "parameter": "Net::OpenID::Yadis::Service",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3AOpenID%3A%3AYadis%3A%3AService/json",
    "generated": "2026-06-13T05:05:25Z",
    "synopsis": "use Net::OpenID::Yadis;\nmy $disc = Net::OpenID::Yadis->new();\nmy @xrd = $disc->discover(\"http://id.example.com/\") or Carp::croak($disc->err);\nforeach my $srv (@xrd) {         # Loop for Each Service in Yadis Resourse Descriptor\nprint $srv->priority;          # Service priority (sorted)\nprint $srv->Type;              # Identifier of some version of some service (scalar, array or array ref)\nprint $srv->URI;               # URI that resolves to a resource providing the service (scalar, array or array ref)\nprint $srv->extrafield(\"Delegate\",\"http://openid.net/xmlns/1.0\");\n# Extra field of some service\n}",
    "sections": {
        "NAME": {
            "content": "Net::OpenID::Yadis::Service - Class representing an XRDS Service element\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.20\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::OpenID::Yadis;\nmy $disc = Net::OpenID::Yadis->new();\nmy @xrd = $disc->discover(\"http://id.example.com/\") or Carp::croak($disc->err);\n\nforeach my $srv (@xrd) {         # Loop for Each Service in Yadis Resourse Descriptor\nprint $srv->priority;          # Service priority (sorted)\nprint $srv->Type;              # Identifier of some version of some service (scalar, array or array ref)\nprint $srv->URI;               # URI that resolves to a resource providing the service (scalar, array or array ref)\nprint $srv->extrafield(\"Delegate\",\"http://openid.net/xmlns/1.0\");\n# Extra field of some service\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "After Net::OpenID::Yadis performs discovery, the result is a list of instances of this class.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$srv->priority\nThe priority value for the service.\n\n$srv->Type\nThe URI representing the kind of service provided at the endpoint for this record.\n\n$srv->URI\nThe URI of the service endpoint.\n\n$srv->extrafield( $fieldname , $namespace )\nFetch the value of extension fields not provided directly by this class.\n\nIf $namespace is not specified, the default is the namespace whose name is the empty string.\n\nCOPYRIGHT, WARRANTY, AUTHOR\nSee Net::OpenID::Yadis for author, copyright and licensing information.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::OpenID::Yadis\n\nYadis website: <http://yadis.org/>\n",
            "subsections": []
        }
    },
    "summary": "Net::OpenID::Yadis::Service - Class representing an XRDS Service element",
    "flags": [],
    "examples": [],
    "see_also": []
}