| OAuth-Lite documentation | view source | Contained in the OAuth-Lite distribution. |
OAuth::Lite::AuthMethod - auth method constants.
use OAuth::Lite::AuthMethod qw(
AUTH_HEADER
POST_BODY
URL_QUERY
);
$consumer = OAuth::Lite::Consumer->new(
...
auth_method => URL_QUERY,
);
This mere holds constants for auth method on requesting with OAuth.
Using Authorization header for OAuth-authentication.
Authorization: OAuth realm="http://example.org", oauth_consuemr_key="key", ...
Embed OAuth authentication data into request body.
Append OAuth authentication data as query-string.
unless ( OAuth::Lite::AuthMethod->validate_method($method) ) {
say 'Invalid auth method.';
}
Lyo Kato, lyo.kato _at_ gmail.com
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.
| OAuth-Lite documentation | view source | Contained in the OAuth-Lite distribution. |