line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package OpenID::Lite::Types; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
19
|
use Any::Moose; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
19
|
|
4
|
|
|
|
|
|
|
use Any::Moose ( |
5
|
3
|
|
|
|
|
21
|
'X::Types' => [ -declare => [ |
6
|
|
|
|
|
|
|
qw( |
7
|
|
|
|
|
|
|
AssocHandle |
8
|
|
|
|
|
|
|
AssocType |
9
|
|
|
|
|
|
|
SessionType |
10
|
|
|
|
|
|
|
AuthRequestMode |
11
|
|
|
|
|
|
|
AuthResponseMode |
12
|
|
|
|
|
|
|
ProviderResponseType |
13
|
|
|
|
|
|
|
) |
14
|
|
|
|
|
|
|
] ], |
15
|
|
|
|
|
|
|
'X::Types::'.any_moose(), [qw(Str)], |
16
|
3
|
|
|
3
|
|
1566
|
); |
|
3
|
|
|
|
|
7
|
|
17
|
|
|
|
|
|
|
|
18
|
3
|
|
|
3
|
|
23136
|
use OpenID::Lite::Constants::AssocType qw(HMAC_SHA1 HMAC_SHA256); |
|
3
|
|
|
|
|
9
|
|
|
3
|
|
|
|
|
243
|
|
19
|
3
|
|
|
3
|
|
1716
|
use OpenID::Lite::Constants::SessionType qw(NO_ENCRYPTION DH_SHA1 DH_SHA256); |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
207
|
|
20
|
|
|
|
|
|
|
use OpenID::Lite::Constants::ModeType |
21
|
3
|
|
|
3
|
|
2043
|
qw(CHECKID_SETUP CHECKID_IMMEDIATE ID_RES SETUP_NEEDED CANCEL); |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
250
|
|
22
|
3
|
|
|
3
|
|
1876
|
use OpenID::Lite::Constants::ProviderResponseType qw(DIRECT REDIRECT SETUP); |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
1508
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
do { |
25
|
|
|
|
|
|
|
subtype AssocHandle, |
26
|
|
|
|
|
|
|
as Str, |
27
|
|
|
|
|
|
|
where { $_ =~ /^[\x21-\x7e]{1,255}$/ }; |
28
|
|
|
|
|
|
|
}; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
do { |
31
|
|
|
|
|
|
|
subtype AssocType, |
32
|
|
|
|
|
|
|
as Str, |
33
|
|
|
|
|
|
|
where { $_ eq HMAC_SHA1 || $_ eq HMAC_SHA256 }; |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
do { |
37
|
|
|
|
|
|
|
subtype SessionType, |
38
|
|
|
|
|
|
|
as Str, |
39
|
|
|
|
|
|
|
where { $_ eq NO_ENCRYPTION || $_ eq DH_SHA1 || $_ eq DH_SHA256 }; |
40
|
|
|
|
|
|
|
}; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
do { |
43
|
|
|
|
|
|
|
subtype AuthRequestMode, |
44
|
|
|
|
|
|
|
as Str, |
45
|
|
|
|
|
|
|
where { $_ eq CHECKID_SETUP || $_ eq CHECKID_IMMEDIATE }; |
46
|
|
|
|
|
|
|
}; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
do { |
49
|
|
|
|
|
|
|
subtype AuthResponseMode, |
50
|
|
|
|
|
|
|
as Str, |
51
|
|
|
|
|
|
|
where { $_ eq ID_RES || $_ eq SETUP_NEEDED || $_ eq CANCEL }; |
52
|
|
|
|
|
|
|
}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
do { |
55
|
|
|
|
|
|
|
subtype ProviderResponseType, |
56
|
|
|
|
|
|
|
as Str, |
57
|
|
|
|
|
|
|
where { $_ eq DIRECT || $_ eq REDIRECT || $_ eq SETUP }; |
58
|
|
|
|
|
|
|
}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
1; |
61
|
|
|
|
|
|
|
|