ACME2/Challenge.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ACME2/X/UnrecognizedKey.pm ↑ Summary ACME2/ChallengeBase/HasToken.pm »
1 package Net::ACME2::Challenge;
2  
3 =encoding utf-8
4  
5 =head1 NAME
6  
7 Net::ACME2::Challenge
8  
9 =head1 DESCRIPTION
10  
11 The ACME Challenge object.
12  
13 (NB: The specification doesn’t seem to define this as a resource
14 per se .. oversight?)
15  
16 Note that C<http-01> challenges use L<Net::ACME2::Challenge::http_01>.
17  
18 =cut
19  
20 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 2 ▶use parent qw( Net::ACME2::AccessorBase );
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 2 ▶use Net::ACME2::X ();
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 2 use constant _ACCESSORS => (
28 'url',
29 'type',
30 'status',
31 'validated',
32 'error',
33 #'keyAuthorization',
34 2 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 =head1 ACCESSORS
37  
38 These provide text strings as defined in the ACME specification.
39  
40 =over
41  
42 =item * B<url()>
43  
44 =item * B<type()>
45  
46 =item * B<token()>
47  
48 =item * B<status()>
49  
50 =item * B<validated()>
51  
52 =back
53  
54 =cut
55  
56 2 1;
« ACME2/X/UnrecognizedKey.pm ↑ Summary ACME2/ChallengeBase/HasToken.pm »