diff options
author | Pablo Polvorin <ppolvorin@process-one.net> | 2016-07-18 23:27:49 -0300 |
---|---|---|
committer | Pablo Polvorin <ppolvorin@process-one.net> | 2016-07-19 00:24:06 -0300 |
commit | 33e0283f0d4f851d2414a8b42434641ca432031d (patch) | |
tree | 4f63744ebf4af989f428f454782034d9a5734796 /include/ejabberd_commands.hrl | |
parent | Fix ce0d1704c6cc167c8bc891587952f78c55f979ad (diff) |
Add 'ejabberd:user' and 'ejabberd:admin' oauth scopes
'ejabberd:user' includes all commands defined with policy "user".
'ejabberd:admin' includes commands defined with policy "admin".
Diffstat (limited to 'include/ejabberd_commands.hrl')
-rw-r--r-- | include/ejabberd_commands.hrl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ejabberd_commands.hrl b/include/ejabberd_commands.hrl index 81be06dc3..2b4eca581 100644 --- a/include/ejabberd_commands.hrl +++ b/include/ejabberd_commands.hrl @@ -26,6 +26,8 @@ {tuple, [rterm()]} | {list, rterm()} | rescode | restuple. +-type oauth_scope() :: atom(). + -record(ejabberd_commands, {name :: atom(), tags = [] :: [atom()] | '_' | '$2', |