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