TokenType.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TokenExchange.pm ↑ Summary
1 2 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package Net::OAuth2Server::TokenType;
4 2 our $VERSION = '0.004';
5  
6 2 ▶use constant ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use Exporter ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 our %TOKEN_TYPE = (
10 TOKEN_TYPE_JWT => 'urn:ietf:params:oauth:token-type:jwt',
11 TOKEN_TYPE_ACCESS_TOKEN => 'urn:ietf:params:oauth:token-type:access_token',
12 TOKEN_TYPE_REFRESH_TOKEN => 'urn:ietf:params:oauth:token-type:refresh_token',
13 TOKEN_TYPE_ID_TOKEN => 'urn:ietf:params:oauth:token-type:id_token',
14 TOKEN_TYPE_SAML1 => 'urn:ietf:params:oauth:token-type:saml1',
15 TOKEN_TYPE_SAML2 => 'urn:ietf:params:oauth:token-type:saml2',
16 );
17  
18 2 constant->import( \%TOKEN_TYPE );
19 2 *import = \&Exporter::import;
20 2 our @EXPORT_OK = sort keys %TOKEN_TYPE;
21  
22 2 1;
« TokenExchange.pm ↑ Summary