NAME

Net::Yadis::Discovery::Protocol::TypeKey - Extension module that add TypeKey API to Net::Yadis::Discovery;

SYNOPSIS

use Net::Yadis::Discovery;
my $disc = Net::Yadis::Discovery->new();
$disc->discover("http://id.example.com/") or Carp::croak($disc->err);

my @openid_xrd = $disc->typekey_servers(['1.0','1.1');
                                 # Argument is Array ref of version numbers, and it's optional.

foreach my $srv (@xrd) {         # Loop for Each Service in TypeKey's Yadis Resourse Descriptor
  print $srv->Type;              # http://www.sixapart.com/typekey/sso/1.0
  print $srv->URI;               # URI value is no meaning in TypeKey protocol...
  print $srv->MemberName;        # To get TypeKey Account attribute 
}

DESCRIPTION

Add Proposal API interface (http://yadis.org/wiki/Proposed_Yadis_API) to Net::Yadis::Discovery.

METHODS

$disc->typekey_servers( [$version, ...] )

Returns the TypeKey accounts as array hashes of Net::Yadis::Object::TypeKey. Optionally accepts a array ref of versions supported by the client as a argument.

Notice: TypeKey has only one login server, so API name typekey_servers seems funny. But this is to give same interface to other protocol.

$srv->MemberName

Net::Yadis::Object::TypeKey's method to get TypeKey account name.

COPYRIGHT, WARRANTY, AUTHOR

See Net::Yadis::Discovery for author, copyrignt and licensing information.

SEE ALSO

Net::Yadis::Discovery

Yadis website: http://yadis.org/

1 POD Error

The following errors were encountered while parsing the POD:

Around line 67:

You forgot a '=back' before '=head1'