diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-08-09 19:22:51 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-08-10 11:26:04 +0200 |
commit | 50596dc4d347fc76f01f7b063b42c85296fad55b (patch) | |
tree | 01568b6eb1b4331e1b2bad4858192e9a3093e70a | |
parent | Fix result type of subscribe_room command (diff) |
Provide proper args_desc in oauth_issue_token command
-rw-r--r-- | src/ejabberd_oauth.erl | 4 |
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], |