line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package OAuth::Lite2::Server::Context; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
574
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
21
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
18
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
2
|
use base 'Class::Accessor::Fast'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
67
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors(qw(request data_handler)); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
OAuth::Lite2::Server::Context - request context object. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 SYNOPSIS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
my $context = OAuth::Lite2::Server::Context->new({ |
17
|
|
|
|
|
|
|
request => $req, |
18
|
|
|
|
|
|
|
data_handler => YourDataHandler->new, |
19
|
|
|
|
|
|
|
}); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 DESCRIPTION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
request context object. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 METHODS |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head2 request |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
accessor for current L object. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head2 data_handler |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
accessor for L object. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 SEE ALSO |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
L |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 AUTHOR |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Lyo Kato, Elyo.kato@gmail.comE |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Copyright (C) 2010 by Lyo Kato |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
48
|
|
|
|
|
|
|
it under the same terms as Perl itself, either Perl version 5.8.8 or, |
49
|
|
|
|
|
|
|
at your option, any later version of Perl 5 you may have available. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
1; |