File Coverage

blib/lib/Dancer2/Plugin/OAuth2/Server/Role.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Dancer2::Plugin::OAuth2::Server::Role;
2 4     4   39 use Moo::Role;
  4         16  
  4         41  
3              
4             requires 'login_resource_owner';
5             requires 'confirm_by_resource_owner';
6             requires 'verify_client';
7             requires 'store_auth_code';
8             requires 'generate_token';
9             requires 'verify_auth_code';
10             requires 'store_access_token';
11             requires 'verify_access_token';
12              
13             1;