2019-04-24 21:52:08 +00:00
|
|
|
package middlewares
|
|
|
|
|
2020-05-02 05:06:39 +00:00
|
|
|
// JWTIssuer is.
|
2019-04-24 21:52:08 +00:00
|
|
|
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"
|