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