Crocodile RCS Ltd
<peter.dunkley@crocodile-rcs.com>
+Carsten Bock
+
+ ng-voice GmbH
+ <carsten@ng-voice.com>
+
Copyright © 2013 Crocodile RCS Ltd
+
+ Copyright © 2017 ng-voice GmbH
__________________________________________________________________
Table of Contents
3.1. secret (string)
3.2. username_format (integer)
+ 3.3. sha_algorithm (integer)
4. Functions
1.2. Response example
1.3. secret parameter usage
1.4. username_format parameter usage
- 1.5. autheph_proxy usage
- 1.6. autheph_www usage
- 1.7. autheph_check usage
- 1.8. autheph_authenticate usage
- 1.9. autheph_check_from usage
- 1.10. autheph_check_to usage
- 1.11. autheph_check_timestamp usage
+ 1.5. sha_algorithm parameter usage
+ 1.6. autheph_proxy usage
+ 1.7. autheph_www usage
+ 1.8. autheph_check usage
+ 1.9. autheph_authenticate usage
+ 1.10. autheph_check_from usage
+ 1.11. autheph_check_to usage
+ 1.12. autheph_check_timestamp usage
Chapter 1. Admin Guide
3.1. secret (string)
3.2. username_format (integer)
+ 3.3. sha_algorithm (integer)
4. Functions
3.1. secret (string)
3.2. username_format (integer)
+ 3.3. sha_algorithm (integer)
3.1. secret (string)
modparam("auth_ephemeral", "username_format", 0)
...
+3.3. sha_algorithm (integer)
+
+ The SHA algorhithm to be used for the Hash.
+
+ * 0 - SHA1 (default, as per IETF/RFC)
+ * 1 - SHA256
+ * 2 - SHA512
+
+ Example 1.5. sha_algorithm parameter usage
+...
+modparam("auth_ephemeral", "sha_algorithm", 2)
+...
+
4. Functions
4.1. autheph_proxy(realm)
This function can be used from REQUEST_ROUTE.
- Example 1.5. autheph_proxy usage
+ Example 1.6. autheph_proxy usage
...
if (!autheph_proxy("$fd")) {
auth_challenge("$fd", "1");
This function can be used from REQUEST_ROUTE.
- Example 1.6. autheph_www usage
+ Example 1.7. autheph_www usage
...
if (!autheph_www("$fd")) {
auth_challenge("$fd", "1");
This function can be used from REQUEST_ROUTE.
- Example 1.7. autheph_check usage
+ Example 1.8. autheph_check usage
...
if (!autheph_check("$fd")) {
auth_challenge("$fd", "1");
This function can be used from REQUEST_ROUTE.
- Example 1.8. autheph_authenticate usage
+ Example 1.9. autheph_authenticate usage
...
if (!autheph_authenticate("$var(username)", "$var(password)")) {
sl_send_reply("403", "Forbidden");
This function can be used from REQUEST_ROUTE.
- Example 1.9. autheph_check_from usage
+ Example 1.10. autheph_check_from usage
...
if (!autheph_check_from()) {
sl_send_reply("403", "Forbidden");
This function can be used from REQUEST_ROUTE.
- Example 1.10. autheph_check_to usage
+ Example 1.11. autheph_check_to usage
...
if (!autheph_check_to()) {
sl_send_reply("403", "Forbidden");
This function can be used from REQUEST_ROUTE.
- Example 1.11. autheph_check_timestamp usage
+ Example 1.12. autheph_check_timestamp usage
...
if (!autheph_check_timestamp("$var(username)")) {
sl_send_reply("403", "Forbidden");