The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::HTTP::Spore::Middleware::Auth::OAuth - middleware for OAuth authentication

VERSION

version 0.02

SYNOPSIS

my $client = Net::HTTP::Spore->new_from_spec('twitter.json');
$client->enable(
    'Auth::OAuth',
    consumer_key    => 'xxx',
    consumer_secret => 'yyy',
    token           => '123',
    token_secret    => '456'
);

DESCRIPTION

Net::HTTP::Spore::Middleware::Auth::OAuth is a middleware to handle OAuth mechanism. This middleware should be loaded as the last middleware, because it requires all parameters to be setted to calculate the signature.

AUTHOR

franck cuny <franck@lumberjaph.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by linkfluence.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.