Add configuration for token expiration

This commit is contained in:
waltaskew
2014-10-01 15:59:28 -04:00
parent 76ad77a233
commit 897b2fceab
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -37,6 +37,10 @@ Core
``SECURITY_TOKEN_AUTHENTICATION_HEADER`` Specifies the HTTP header to read when
using token authentication. Defaults to
``Authentication-Token``.
``SECURITY_TOKEN_MAX_AGE`` Specifies the number of seconds before
an authentication token expires.
Defaults to None, meaning the token
never expires.
``SECURITY_DEFAULT_HTTP_AUTH_REALM`` Specifies the default authentication
realm when using basic HTTP auth.
Defaults to ``Login Required``