summaryrefslogtreecommitdiff
path: root/src/ejabberd_oauth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd_oauth.erl')
-rw-r--r--src/ejabberd_oauth.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ejabberd_oauth.erl b/src/ejabberd_oauth.erl
index ca069364..36c679cb 100644
--- a/src/ejabberd_oauth.erl
+++ b/src/ejabberd_oauth.erl
@@ -102,7 +102,9 @@ get_commands_spec() ->
args = [{jid, string},{ttl, integer}, {scopes, string}],
policy = restricted,
args_example = ["user@server.com", "connected_users_number;muc_online_rooms"],
- args_desc = ["List of scopes to allow, separated by ';'"],
+ args_desc = ["Jid for which issue token",
+ "Time to live of generated token in seconds",
+ "List of scopes to allow, separated by ';'"],
result = {result, {tuple, [{token, string}, {scopes, string}, {expires_in, string}]}}
},
#ejabberd_commands{name = oauth_list_tokens, tags = [oauth],