From 33e0283f0d4f851d2414a8b42434641ca432031d Mon Sep 17 00:00:00 2001 From: Pablo Polvorin Date: Mon, 18 Jul 2016 23:27:49 -0300 Subject: 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". --- include/ejabberd_commands.hrl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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', -- cgit v1.2.3