diff options
author | Alexey Shchepin <alexey@process-one.net> | 2019-09-27 20:36:35 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2019-09-27 20:36:58 +0300 |
commit | 8f7fa3894902ed2181b45723388ee9087b92c18a (patch) | |
tree | b4d448d361f7de5ea3886592a840a6b7d252e73e /include | |
parent | 47d0eed3f14fb8d0808908834ee51c13a27b0c1e (diff) |
Support OAUTH client authentication
Diffstat (limited to 'include')
-rw-r--r-- | include/ejabberd_oauth.hrl | 7 |
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()] | '_' + }). |