Lyo Kato > OAuth-Lite-1.31 > OAuth::Lite::Server::Test::Echo

Download:
OAuth-Lite-1.31.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
View/Report Bugs
Source   Latest Release: OAuth-Lite-1.32

NAME ^

OAuth::Lite::Server::Test::Echo - simple echo server example

SYNOPSIS ^

    PerlModule OAuth::Lite::Server::Test::Echo
    PerlSetVar Realm "http://localhost/"

    <Location /request_token>
        SetHandler perl-script
        PerlSetVar Mode REQUEST_TOKEN
        PerlResponseHandler OAuth::Lite::Server::Test::Echo
    </Location>

    <Location /access_token>
        SetHandler perl-script
        PerlSetVar Mode ACCESS_TOKEN
        PerlResponseHandler OAuth::Lite::Server::Test::Echo
    </Location>

    <Location /resource>
        SetHandler perl-script
        PerlSetVar Mode PROTECTED_RESOURCE
        PerlResponseHandler OAuth::Lite::Server::Test::Echo
    </Location>

DESCRIPTION ^

This is very simple example for OAuth::Lite::Server::mod_perl2

METHODS ^

init

get_request_token_secret

get_access_token_secret

get_consumer_secret

publish_request_token

publish_access_token

check_nonce_and_timestamp

service

AUTHOR ^

Lyo Kato, lyo.kato _at_ gmail.com

COPYRIGHT AND LICENSE ^

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

syntax highlighting: