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 allowed_signature_methods
20 /]);
21  
22 4 __PACKAGE__->mk_classdata(signature_elements => [qw/
23 /]);
24  
25 __PACKAGE__->mk_classdata(all_message_params => [
26 4 @{__PACKAGE__->required_message_params},
27 4 @{__PACKAGE__->optional_message_params},
28 ]);
29  
30 __PACKAGE__->mk_classdata(all_api_params => [
31 4 @{__PACKAGE__->required_api_params},
32 4 @{__PACKAGE__->optional_api_params},
33 ]);
34  
35 __PACKAGE__->mk_classdata(all_params => [
36 4 @{__PACKAGE__->all_api_params},
37 4 @{__PACKAGE__->all_message_params},
38 ]);
39  
40 __PACKAGE__->mk_accessors(
41 4 @{__PACKAGE__->all_params},
42 );
43  
44 =head1 NAME
45  
46 Net::OAuth::Response - base class for OAuth responses
47  
48 =head1 SEE ALSO
49  
50 L<Net::OAuth>, L<http://oauth.net>
51  
52 =head1 AUTHOR
53  
54 Originally by Keith Grennan <foss@nearlyfree.org>
55  
56 Currently maintained by Robert Rothenberg <perl@rhizomnic.com>
57  
58 =head1 COPYRIGHT & LICENSE
59  
60 Copyright 2007-2012, 2024-2026 Keith Grennan
61  
62 This program is free software; you can redistribute it and/or modify it
63 under the same terms as Perl itself.
64  
65 =cut
66  
67 4 1;
« OAuth/UserAuthResponse.pm ↑ Summary OAuth/UserAuthRequest.pm »