Lyo Kato > Net-OpenSocial-Client > Net::OpenSocial::Client::HTTPRequestBuilder::OAuth

Download:
Net-OpenSocial-Client-0.01_05.tar.gz

Dependencies

Annotate this POD

Source  

NAME ^

Net::OpenSocial::Client::HTTPRequestBuilder::OAuth - OAuth request builder

SYNOPSIS ^

    # 3legged
    # get access token beforehand.
    my $builder = Net::OpenSocial::Client::HTTPRequestBuilder::OAuth->new(
        consumer_key    => $consumer_key,
        consumer_secret => $consumer_secret,
        token           => $access_token,
    );

    # or 2legged
    my $builder = Net::OpenSocial::Client::HTTPRequestBuilder::OAuth->new(
        consumer_key    => $consumer_key,
        consumer_secret => $consumer_secret,
        requestor       => $xoauth_requestor_id,
    );

    my $http_request = $builder->build_request();

DESCRIPTION ^

METHODS ^

build_request

AUTHOR ^

Lyo Kato, <lyo.kato@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 by Lyo Kato

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.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: