summaryrefslogtreecommitdiff
path: root/internal/middlewares/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/middlewares/const.go')
-rw-r--r--internal/middlewares/const.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/middlewares/const.go b/internal/middlewares/const.go
new file mode 100644
index 000000000..3959044fb
--- /dev/null
+++ b/internal/middlewares/const.go
@@ -0,0 +1,18 @@
+package middlewares
+
+// JWTIssuer is
+const jwtIssuer = "Authelia"
+
+const xForwardedProtoHeader = "X-Forwarded-Proto"
+const xForwardedHostHeader = "X-Forwarded-Host"
+const xForwardedURIHeader = "X-Forwarded-URI"
+
+const xOriginalURLHeader = "X-Original-URL"
+
+const applicationJSONContentType = "application/json"
+
+var okMessageBytes = []byte("{\"status\":\"OK\"}")
+
+const operationFailedMessage = "Operation failed"
+const identityVerificationTokenAlreadyUsedMessage = "The identity verification token has already been used"
+const identityVerificationTokenHasExpiredMessage = "The identity verification token has expired"