Why not adopt me?
NAME
WWW::Desk::Auth::oAuth::SingleAccessToken - Desk.com SingleAccessToken Authentication
SYNOPSIS
use WWW::Desk::Auth::oAuth::SingleAccessToken;
my $desk = WWW::Desk::Auth::oAuth::SingleAccessToken->new(
desk_url => 'https://your.desk.com/',
api_key => 'customer api key',
secret_key => 'customer secret key',
token => 'access token',
token_secret => 'access token secret'
);
my $tx = $desk->call('/customers/search', 'GET', {email => 'a@a.com'});
ATTRIBUTES
api_key
REQUIRED - desk.com api key
secret_key
REQUIRED - desk.com api secret key
desk_url
REQUIRED - your desk url
token
REQUIRED - desk.com access token
token_secret
REQUIRED - desk.com access secret
call
call the api requests
REQUIRED $url_fragment, api fragment url REQUIRED $http_method, api allowed HTTP method OPTIONAL $params parameters to be sent
RETURNS: { 'code' => $code, 'message' => $msg, 'data' => $data };
AUTHOR
binary.com, <rakesh at binary.com>
BUGS
Please report any bugs or feature requests to bug-www-desk at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Desk. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Desk
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN