NAME
Net::HTTP::Spore::Middleware::Auth::Header - middleware for authentication with specific header
VERSION
version 0.09
SYNOPSIS
my
$client
= Net::HTTP::Spore->new_from_spec(
'api.json'
);
$client
->enable(
'Auth::Header'
,
header_name
=>
'X-API-Auth'
,
header_value
=>
'12345'
);
DESCRIPTION
Net::HTTP::Spore::Middleware::Auth::Header is a middleware to handle authentication mechanism that requires a specific header name.
AUTHORS
Franck Cuny <franck.cuny@gmail.com>
Ash Berlin <ash@cpan.org>
Ahmad Fatoum <athreef@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.