Mercurial > prosody-modules
comparison mod_auth_custom_http/README.markdown @ 2868:f90cf59bee8e
mod_auth_custom_http: fix documentation config example
author | Senya <senya@kinetiksoft.com> |
---|---|
date | Thu, 01 Feb 2018 10:58:19 +0200 |
parents | 6c569c481ffa |
children |
comparison
equal
deleted
inserted
replaced
2867:94d8960385aa | 2868:f90cf59bee8e |
---|---|
13 ============= | 13 ============= |
14 | 14 |
15 ``` lua | 15 ``` lua |
16 VirtualHost "example.com" | 16 VirtualHost "example.com" |
17 authentication = "custom_http" | 17 authentication = "custom_http" |
18 auth_custom_http = "http://api.example.com/auth" | 18 auth_custom_http = { |
19 post_url = "http://api.example.com/auth"; | |
20 } | |
19 ``` | 21 ``` |
20 | 22 |
21 Protocol | 23 Protocol |
22 ======== | 24 ======== |
23 | 25 |