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:
authorAlexey Shchepin <alexey@process-one.net>2019-09-27 20:36:35 +0300
committerAlexey Shchepin <alexey@process-one.net>2019-09-27 20:36:58 +0300
commit8f7fa3894902ed2181b45723388ee9087b92c18a (patch)
treeb4d448d361f7de5ea3886592a840a6b7d252e73e /include
parent47d0eed3f14fb8d0808908834ee51c13a27b0c1e (diff)
Support OAUTH client authentication
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd_oauth.hrl7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ejabberd_oauth.hrl b/include/ejabberd_oauth.hrl
index 51e77636f..9254da1e5 100644
--- a/include/ejabberd_oauth.hrl
+++ b/include/ejabberd_oauth.hrl
@@ -24,3 +24,10 @@
scope = [] :: [binary()] | '_',
expire :: integer() | '$1' | '_'
}).
+
+-record(oauth_client, {
+ client = <<"">> :: binary() | '_',
+ secret = <<"">> :: binary() | '_',
+ grant_type = password :: password | '_',
+ options :: [any()] | '_'
+ }).