2019-04-24 21:52:08 +00:00
|
|
|
package middlewares
|
|
|
|
|
|
|
|
const jwtIssuer = "Authelia"
|
|
|
|
|
|
|
|
const xForwardedProtoHeader = "X-Forwarded-Proto"
|
2021-03-05 04:18:31 +00:00
|
|
|
const xForwardedMethodHeader = "X-Forwarded-Method"
|
2019-04-24 21:52:08 +00:00
|
|
|
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"
|
2021-05-04 22:06:05 +00:00
|
|
|
|
|
|
|
var protoHostSeparator = []byte("://")
|