File Coverage

blib/lib/Net/Amazon/S3/Authorization/Basic.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::S3::Authorization::Basic;
2             $Net::Amazon::S3::Authorization::Basic::VERSION = '0.98';
3 91     91   1660 use Moose 0.85;
  91         2545  
  91         962  
4 91     91   719373 use MooseX::StrictConstructor 0.16;
  91         2423  
  91         873  
5              
6             extends 'Net::Amazon::S3::Authorization';
7              
8             # ABSTRACT: Basic authorization information
9              
10             has aws_access_key_id => (
11             is => 'ro',
12             );
13              
14             has aws_secret_access_key => (
15             is => 'ro',
16             );
17              
18             1;
19              
20             __END__
21              
22             =pod
23              
24             =encoding UTF-8
25              
26             =head1 NAME
27              
28             Net::Amazon::S3::Authorization::Basic - Basic authorization information
29              
30             =head1 VERSION
31              
32             version 0.98
33              
34             =head1 SYNOPSIS
35              
36             use Net::Amazon::S3;
37              
38             my $s3 = Net::Amazon::S3->new (
39             authorization_context => Net::Amazon::S3::Authorization::Basic->new (
40             aws_access_key_id => ...,
41             aws_secret_access_key => ...,
42             ),
43             ...
44             );
45              
46             =head1 DESCRIPTION
47              
48             Basic authorization context for access_key / secret_key authorization.
49              
50             =head1 AUTHOR
51              
52             Branislav Zahradník <barney@cpan.org>
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut