| 1 | package Net::OAuth::Response; |
|---|
| 2 | use warnings; |
|---|
| 3 | use strict; |
|---|
| 4 | use base qw/Net::OAuth::Message/; |
|---|
| 5 | |
|---|
| 6 | __PACKAGE__->mk_classdata(required_message_params => [qw/ |
|---|
| 7 | token |
|---|
| 8 | /]); |
|---|
| 9 | |
|---|
| 10 | __PACKAGE__->mk_classdata(optional_message_params => [qw/ |
|---|
| 11 | /]); |
|---|
| 12 | |
|---|
| 13 | __PACKAGE__->mk_classdata(required_api_params => [qw/ |
|---|
| 14 | /]); |
|---|
| 15 | |
|---|
| 16 | __PACKAGE__->mk_classdata(optional_api_params => [qw/ |
|---|
| 17 | extra_params |
|---|
| 18 | /]); |
|---|
| 19 | |
|---|
| 20 | __PACKAGE__->mk_classdata(signature_elements => [qw/ |
|---|
| 21 | /]); |
|---|
| 22 | |
|---|
| 23 | __PACKAGE__->mk_classdata(all_message_params => [ |
|---|
| 24 | @{__PACKAGE__->required_message_params}, |
|---|
| 25 | @{__PACKAGE__->optional_message_params}, |
|---|
| 26 | ]); |
|---|
| 27 | |
|---|
| 28 | __PACKAGE__->mk_classdata(all_api_params => [ |
|---|
| 29 | @{__PACKAGE__->required_api_params}, |
|---|
| 30 | @{__PACKAGE__->optional_api_params}, |
|---|
| 31 | ]); |
|---|
| 32 | |
|---|
| 33 | __PACKAGE__->mk_classdata(all_params => [ |
|---|
| 34 | @{__PACKAGE__->all_api_params}, |
|---|
| 35 | @{__PACKAGE__->all_message_params}, |
|---|
| 36 | ]); |
|---|
| 37 | |
|---|
| 38 | __PACKAGE__->mk_accessors( |
|---|
| 39 | @{__PACKAGE__->all_params}, |
|---|
| 40 | ); |
|---|
| 41 | |
|---|
| 42 | =head1 NAME |
|---|
| 43 | |
|---|
| 44 | Net::OAuth::Response - base class for OAuth responses |
|---|
| 45 | |
|---|
| 46 | =head1 SEE ALSO |
|---|
| 47 | |
|---|
| 48 | L<http://oauth.net> |
|---|
| 49 | |
|---|
| 50 | =head1 AUTHOR |
|---|
| 51 | |
|---|
| 52 | Keith Grennan, C<< <kgrennan at cpan.org> >> |
|---|
| 53 | |
|---|
| 54 | =head1 COPYRIGHT & LICENSE |
|---|
| 55 | |
|---|
| 56 | Copyright 2007 Keith Grennan, all rights reserved. |
|---|
| 57 | |
|---|
| 58 | This program is free software; you can redistribute it and/or modify it |
|---|
| 59 | under the same terms as Perl itself. |
|---|
| 60 | |
|---|
| 61 | =cut |
|---|
| 62 | |
|---|
| 63 | 1; |
|---|