File Coverage

blib/lib/OpenID/Lite/Role/Associator.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package OpenID::Lite::Role::Associator;;
2              
3 1     1   699 use Any::Moose '::Role';
  1         2  
  1         8  
4              
5 1     1   469 use OpenID::Lite::Types qw(AssocType SessionType);
  1         3  
  1         7  
6 1     1   83 use OpenID::Lite::Constants::AssocType qw(HMAC_SHA256);
  1         2  
  1         64  
7 1     1   7 use OpenID::Lite::Constants::SessionType qw(NO_ENCRYPTION);
  1         2  
  1         197  
8              
9             requires 'associate';
10              
11             has 'assoc_type' => (
12             is => 'rw',
13             isa => AssocType,
14             lazy => 1,
15             default => HMAC_SHA256,
16             );
17              
18             has 'session_type' => (
19             is => 'rw',
20             isa => SessionType,
21             lazy => 1,
22             default => NO_ENCRYPTION,
23             );
24              
25             1;