NAME

Net::Douban::OAuth::Consumer - Base consumer object for Net::Douban::OAuth

VERSION

version 1.06

SYNOPSIS

my $consumer = Net::Douban::OAuth::Consumer->new(
    ....
);

$consumer->get_request_token;
print $consumer->request_token;
print $consumer->request_token_secret;
$consumer->get_access_token;
print $consumer->access_token;
print $consumer->access_token_secret;

$consumer->mana_protected_resource;

DESCRIPTION

consumer client for OAuth

METHODS

new

Required arguments: consumer_secret consumer_key site request_token_path access_token_path

get_request_token
get_access_token
mana_protected_resource

AUTHOR

woosley.xu<redicaps@gmail.com>

COPYRIGHT

Copyright (C) 2010 by Woosley.Xu

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