NAME

CGI::Auth::FOAF_SSL::OnlineAccount - an online account (in the FOAF sense)

SYNOPSIS

my $auth = CGI::Auth::FOAF_SSL->new_from_cgi;
if ($auth->is_secure)
{
  my $online_acct = $auth->account;
  if ($online_acct)
  {
    my $acct_name = $online_acct->name;
    my $acct_link = $online_acct->homepage;
  }
}

DESCRIPTION

CGI::Auth::FOAF_SSL::OnlineAccount inherits from CGI::Auth::FOAF_SSL::CertifiedThing, so any methods that apply to a CertifiedThing apply to accounts too.

CGI::Auth::FOAF_SSL::OnlineAccount provides some additional methods.

Public Methods

$account->name

Gets the username associated with the account.

$account->homepage

Gets the URL of the profile page associated with the account.

$account->service_homepage

Gets the URL for the homepage of the account provider.

BUGS

Please report any bugs to http://rt.cpan.org/.

SEE ALSO

CGI::Auth::FOAF_SSL, CGI::Auth::FOAF_SSL::CertifiedThing.

AUTHOR

Toby Inkster, <tobyink@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009-2010 by Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8 or, at your option, any later version of Perl 5 you may have available.