summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2019-10-03 06:18:07 +0300
committerAlexey Shchepin <alexey@process-one.net>2019-10-03 06:18:48 +0300
commit5d549dca96c643345ba92e67504e67eb1b6b0681 (patch)
tree8228edfd0595643c869420d1506e76ebf5c45146 /include
parentUpdate Guide links in WebAdmin to website, as local file isn't included (diff)
Check redirect_uri for OAUTH implicit grant
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd_oauth.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ejabberd_oauth.hrl b/include/ejabberd_oauth.hrl
index 9254da1e..2daee39d 100644
--- a/include/ejabberd_oauth.hrl
+++ b/include/ejabberd_oauth.hrl
@@ -26,8 +26,8 @@
}).
-record(oauth_client, {
- client = <<"">> :: binary() | '_',
- secret = <<"">> :: binary() | '_',
- grant_type = password :: password | '_',
+ client_id = <<"">> :: binary() | '_',
+ client_name = <<"">> :: binary() | '_',
+ grant_type :: password | implicit | '_',
options :: [any()] | '_'
}).