| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
3
|
|
|
3
|
|
43
|
use v5.42; |
|
|
3
|
|
|
|
|
13
|
|
|
2
|
3
|
|
|
3
|
|
21
|
use feature 'class'; |
|
|
3
|
|
|
|
|
7
|
|
|
|
3
|
|
|
|
|
478
|
|
|
3
|
3
|
|
|
3
|
|
22
|
no warnings 'experimental::class'; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
3203
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
class At::Protocol::Session 1.3 { |
|
6
|
|
|
|
|
|
|
field $accessJwt : param : reader //= (); |
|
7
|
|
|
|
|
|
|
field $did : param : reader; |
|
8
|
|
|
|
|
|
|
field $handle : param : reader = (); |
|
9
|
|
|
|
|
|
|
field $refreshJwt : param : reader //= (); |
|
10
|
|
|
|
|
|
|
field $token_type : param : reader = 'Bearer'; |
|
11
|
|
|
|
|
|
|
field $dpop_key_jwk : param : reader = (); |
|
12
|
|
|
|
|
|
|
field $client_id : param : reader = (); |
|
13
|
|
|
|
|
|
|
field $pds : param : reader = (); |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# Additional fields returned by server |
|
16
|
|
|
|
|
|
|
field $email : param : reader = (); |
|
17
|
|
|
|
|
|
|
field $emailConfirmed : param : reader = (); |
|
18
|
|
|
|
|
|
|
field $emailAuthFactor : param : reader = (); |
|
19
|
|
|
|
|
|
|
field $active : param : reader = (); |
|
20
|
|
|
|
|
|
|
field $status : param : reader = (); |
|
21
|
|
|
|
|
|
|
field $didDoc : param : reader = (); |
|
22
|
|
|
|
|
|
|
field $scope : param : reader = (); |
|
23
|
|
|
|
|
|
|
ADJUST { |
|
24
|
|
|
|
|
|
|
require At::Protocol::DID; |
|
25
|
|
|
|
|
|
|
$did = At::Protocol::DID->new($did) unless builtin::blessed $did; |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
method _raw { |
|
29
|
|
|
|
|
|
|
+{ accessJwt => $accessJwt, |
|
30
|
|
|
|
|
|
|
did => $did . "", |
|
31
|
|
|
|
|
|
|
refreshJwt => $refreshJwt, |
|
32
|
|
|
|
|
|
|
defined $handle ? ( handle => $handle . "" ) : (), |
|
33
|
|
|
|
|
|
|
token_type => $token_type, |
|
34
|
|
|
|
|
|
|
defined $dpop_key_jwk ? ( dpop_key_jwk => $dpop_key_jwk ) : (), defined $client_id ? ( client_id => $client_id ) : (), |
|
35
|
|
|
|
|
|
|
defined $pds ? ( pds => $pds . "" ) : (), defined $scope ? ( scope => $scope ) : (), defined $email ? ( email => $email ) : (), |
|
36
|
|
|
|
|
|
|
defined $status ? ( status => $status ) : (), defined $active ? ( active => $active ) : (), |
|
37
|
|
|
|
|
|
|
}; |
|
38
|
|
|
|
|
|
|
} |
|
39
|
|
|
|
|
|
|
} |
|
40
|
|
|
|
|
|
|
1; |
|
41
|
|
|
|
|
|
|
__END__ |