Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Polvorin <ppolvorin@process-one.net>2016-07-19 05:27:49 +0300
committerPablo Polvorin <ppolvorin@process-one.net>2016-07-19 06:24:06 +0300
commit33e0283f0d4f851d2414a8b42434641ca432031d (patch)
tree4f63744ebf4af989f428f454782034d9a5734796 /include
parent673a654c4715ca26fc97f8d1335cceaebdc61df1 (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')
-rw-r--r--include/ejabberd_commands.hrl2
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',