line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CatalystX::OAuth2::Request::ProtectedResource; |
2
|
8
|
|
|
8
|
|
64
|
use Moose::Util::TypeConstraints; |
|
8
|
|
|
|
|
24
|
|
|
8
|
|
|
|
|
95
|
|
3
|
8
|
|
|
8
|
|
18907
|
use Moose; |
|
8
|
|
|
|
|
21
|
|
|
8
|
|
|
|
|
67
|
|
4
|
|
|
|
|
|
|
with 'CatalystX::OAuth2'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: An oauth2 protected resource request implementation |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has token => |
9
|
|
|
|
|
|
|
( isa => duck_type( [qw(as_string owner)] ), is => 'ro', required => 1 ); |
10
|
|
|
|
|
|
|
|
11
|
0
|
|
|
0
|
|
|
sub _build_query_parameters {{}} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__END__ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
CatalystX::OAuth2::Request::ProtectedResource - An oauth2 protected resource request implementation |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 VERSION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
version 0.001007 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 AUTHOR |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Eden Cardim <edencardim@gmail.com> |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Suretec Systems Ltd. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
36
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |