]> granicus.if.org Git - ejabberd/commit
Add 'ejabberd:user' and 'ejabberd:admin' oauth scopes
authorPablo Polvorin <ppolvorin@process-one.net>
Tue, 19 Jul 2016 02:27:49 +0000 (23:27 -0300)
committerPablo Polvorin <ppolvorin@process-one.net>
Tue, 19 Jul 2016 03:24:06 +0000 (00:24 -0300)
commit33e0283f0d4f851d2414a8b42434641ca432031d
tree4f63744ebf4af989f428f454782034d9a5734796
parent673a654c4715ca26fc97f8d1335cceaebdc61df1
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
src/ejabberd_commands.erl
src/ejabberd_oauth.erl
src/mod_http_api.erl
test/mod_http_api_mock_test.exs