Net::Op...:Service(3)
πΈ NAME πΈ
okay so welcome to Net::Op...:Service(3), a page from the User Contributed Perl Documentation crew. This is Net::OpenID::Yadis::Service β Class representing an XRDS Service element. Periodt. π
β¨ VERSION β¨
version 1.20 β yes bestie, that's the version. π
π¦ SYNOPSIS π¦
Here's the whole little group-chat demo, verbatim:
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. Lowkey that's the whole vibe: discovery happens, then you get a list of these Service objects. π«Ά
π METHODS π
$srv->priorityβ the priority value for the service. That's it, that's the priority. β$srv->Typeβ the URI representing the kind of service provided at the endpoint for this record. It's giving identifier energy. π$srv->URIβ the URI of the service endpoint. Slay. π₯$srv->extra_field( $fieldname , $namespace )β fetch the value of extension fields not provided directly by this class. Ngl, this is the little bonus-field moment.
If $namespace is not specified, the default is the namespace whose name is the empty string. Yes, bestie, empty string is the default. π
π«Ά COPYRIGHT, WARRANTY, AUTHOR π«Ά
See Net::OpenID::Yadis for author, copyright and licensing information. That's the whole section, no cap. π
π SEE ALSO π
Net::OpenID::Yadis- Yadis website:
<http://yadis.org/>
byeee π this page is perl v5.42.0, dated 2016-02-13, and yes it's giving Net::Op...:Service(3) energy. Mwah. π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-OpenID-Common 1.20-bp160.1.4 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms