WebService::Windows::LiveID::Auth::User - The data class of authenticated user.


WebService-Windows-LiveID-Auth documentation Contained in the WebService-Windows-LiveID-Auth distribution.

Index


Code Index:

NAME

Top

WebService::Windows::LiveID::Auth::User - The data class of authenticated user.

VERSION

Top

version 0.01

METHODS

Top

new($args)

SYNOPSIS

Top

METHODS

Top

appid

Application ID

uid

Unique ID.

ts

Authenticated datetime. See DateTime.

sig

Signature

AUTHOR

Top

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-webservice-windows-liveid-auth-user@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Top


WebService-Windows-LiveID-Auth documentation Contained in the WebService-Windows-LiveID-Auth distribution.
package WebService::Windows::LiveID::Auth::User;

use strict;
use warnings;

use base qw(Class::Accessor::Fast);

use DateTime;

__PACKAGE__->mk_accessors(qw/
  appid
  uid
  ts
  sig
/);

our $VERSION = '0.01';

sub new {
    my ($class, $args) = @_;
    $args->{ts} = DateTime->from_epoch(epoch => $args->{ts});
    return $class->SUPER::new($args);
}

1; # End of WebService::Windows::LiveID::Auth::User