mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
828f565290
This is going to be the v4. Expected improvements: - More reliable due to static typing. - Bump of performance. - Improvement of logging. - Authelia can be shipped as a single binary. - Will likely work on ARM architecture.
19 lines
619 B
Go
19 lines
619 B
Go
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"
|