mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
be0cc72473
* [CI] Add goconst linter * Implement goconst recommendations * Rename defaultPolicy to denyPolicy * Change order for test constants Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
18 lines
603 B
Go
18 lines
603 B
Go
package middlewares
|
|
|
|
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"
|