Lite/Role/Associator.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Lite/Role/AgentHandler.pm ↑ Summary Lite/Role/Discoverer.pm »
1 package OpenID::Lite::Role::Associator;;
2  
3 1 ▶use Any::Moose '::Role';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use OpenID::Lite::Types qw(AssocType SessionType);
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use OpenID::Lite::Constants::AssocType qw(HMAC_SHA256);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use OpenID::Lite::Constants::SessionType qw(NO_ENCRYPTION);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 requires 'associate';
10  
11 1 has 'assoc_type' => (
12 is => 'rw',
13 isa => AssocType,
14 lazy => 1,
15 default => HMAC_SHA256,
16 );
17  
18 1 has 'session_type' => (
19 is => 'rw',
20 isa => SessionType,
21 lazy => 1,
22 default => NO_ENCRYPTION,
23 );
24  
25 1 1;
« Lite/Role/AgentHandler.pm ↑ Summary Lite/Role/Discoverer.pm »