| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Net::Async::Slack::Event::ScopeDenied; |
|
2
|
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
415808
|
use strict; |
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
194
|
|
|
4
|
4
|
|
|
4
|
|
24
|
use warnings; |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
335
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.015'; # VERSION |
|
7
|
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
687
|
use Net::Async::Slack::EventType; |
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
84
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Net::Async::Slack::Event::ScopeDenied - OAuth scopes were denied to your app |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Example input data: |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
{ |
|
19
|
|
|
|
|
|
|
"token": "verification-token", |
|
20
|
|
|
|
|
|
|
"team_id": "T1DD3JH3K", |
|
21
|
|
|
|
|
|
|
"api_app_id": "A7449NRUL", |
|
22
|
|
|
|
|
|
|
"event": { |
|
23
|
|
|
|
|
|
|
"type": "scope_denied", |
|
24
|
|
|
|
|
|
|
"scopes": [ |
|
25
|
|
|
|
|
|
|
"files:read", |
|
26
|
|
|
|
|
|
|
"files:write", |
|
27
|
|
|
|
|
|
|
"chat:write" |
|
28
|
|
|
|
|
|
|
], |
|
29
|
|
|
|
|
|
|
"trigger_id": "241582872337.47445629121.string" |
|
30
|
|
|
|
|
|
|
}, |
|
31
|
|
|
|
|
|
|
"type": "event_callback", |
|
32
|
|
|
|
|
|
|
"authed_teams": [], |
|
33
|
|
|
|
|
|
|
"event_id": "Ev74V2J98E", |
|
34
|
|
|
|
|
|
|
"event_time": 1505519097 |
|
35
|
|
|
|
|
|
|
} |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
|
39
|
|
|
|
|
|
|
|
|
40
|
8
|
|
|
8
|
0
|
32
|
sub type { 'scope_denied' } |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |