OAuth/Response.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OAuth/UserAuthResponse.pm ↑ Summary OAuth/UserAuthRequest.pm »
1 package Net::OAuth::Response;
2 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use base qw/Net::OAuth::Message/;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 __PACKAGE__->mk_classdata(required_message_params => [qw/
7 token
8 /]);
9  
10 4 __PACKAGE__->mk_classdata(optional_message_params => [qw/
11 /]);
12  
13 4 __PACKAGE__->mk_classdata(required_api_params => [qw/
14 /]);
15  
16 4 __PACKAGE__->mk_classdata(optional_api_params => [qw/
17 extra_params
18 protocol_version
19 /]);
20  
21 4 __PACKAGE__->mk_classdata(signature_elements => [qw/
22 /]);
23  
24 __PACKAGE__->mk_classdata(all_message_params => [
25 4 @{__PACKAGE__->required_message_params},
26 4 @{__PACKAGE__->optional_message_params},
27 ]);
28  
29 __PACKAGE__->mk_classdata(all_api_params => [
30 4 @{__PACKAGE__->required_api_params},
31 4 @{__PACKAGE__->optional_api_params},
32 ]);
33  
34 __PACKAGE__->mk_classdata(all_params => [
35 4 @{__PACKAGE__->all_api_params},
36 4 @{__PACKAGE__->all_message_params},
37 ]);
38  
39 __PACKAGE__->mk_accessors(
40 4 @{__PACKAGE__->all_params},
41 );
42  
43 =head1 NAME
44  
45 Net::OAuth::Response - base class for OAuth responses
46  
47 =head1 SEE ALSO
48  
49 L<Net::OAuth>, L<http://oauth.net>
50  
51 =head1 AUTHOR
52  
53 Originally by Keith Grennan <foss@nearlyfree.org>
54  
55 Currently maintained by Robert Rothenberg <perl@rhizomnic.com>
56  
57 =head1 COPYRIGHT & LICENSE
58  
59 Copyright 2007-2012, 2024-2025 Keith Grennan
60  
61 This program is free software; you can redistribute it and/or modify it
62 under the same terms as Perl itself.
63  
64 =cut
65  
66 4 1;
« OAuth/UserAuthResponse.pm ↑ Summary OAuth/UserAuthRequest.pm »