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:
authorChristophe Romain <christophe.romain@process-one.net>2015-09-25 15:53:25 +0300
committerChristophe Romain <christophe.romain@process-one.net>2015-09-25 16:49:07 +0300
commita1129dc96b4782800c3046ea6de6a77049f2293e (patch)
tree16d24c6eefbe7a5f65c0ac4410d8a57eed1d1222 /include
parent7cf904f4cfc8d82522e5780658a44c790b8104c3 (diff)
Add OAuth support (thanks to Aleksey)
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd_commands.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ejabberd_commands.hrl b/include/ejabberd_commands.hrl
index 3ab15ca31..82ee891c3 100644
--- a/include/ejabberd_commands.hrl
+++ b/include/ejabberd_commands.hrl
@@ -34,6 +34,7 @@
module :: atom(),
function :: atom(),
args = [] :: [aterm()] | '_' | '$1' | '$2',
+ policy = restricted :: open | restricted | admin | user,
result = {res, rescode} :: rterm() | '_' | '$2'}).
-type ejabberd_commands() :: #ejabberd_commands{name :: atom(),