aboutsummaryrefslogtreecommitdiff
path: root/include/ejabberd_oauth.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/ejabberd_oauth.hrl')
-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()] | '_'
+ }).