summaryrefslogtreecommitdiff
path: root/app/constants.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-25 14:07:06 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-25 14:07:06 -0400
commit03f89e2899660dbdadbc87d93048051c286e9a43 (patch)
tree3359d26fb8a46de2cdbc66b173ef14dfa8a8b0f8 /app/constants.php
parent00c2e5c80ee4b6c5e5234e5b6a333bb19edd9b76 (diff)
Add custom HTTP header for API authentication
Diffstat (limited to 'app/constants.php')
-rw-r--r--app/constants.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/constants.php b/app/constants.php
index 08759cbd..df57fe30 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -76,3 +76,6 @@ defined('FILES_DIR') or define('FILES_DIR', 'data/files/');
// Escape html inside markdown text
defined('MARKDOWN_ESCAPE_HTML') or define('MARKDOWN_ESCAPE_HTML', true);
+
+// API alternative authentication header, the default is HTTP Basic Authentication defined in RFC2617
+defined('API_AUTHENTICATION_HEADER') or define('API_AUTHENTICATION_HEADER', '');