2020-03-23 13:26:05 +01:00
|
|
|
package api
|
|
|
|
|
|
|
|
const (
|
|
|
|
Authorization = "authorization"
|
2020-03-24 14:15:01 +01:00
|
|
|
Accept = "accept"
|
|
|
|
AcceptLanguage = "accept-language"
|
2020-06-17 08:06:40 +02:00
|
|
|
CacheControl = "cache-control"
|
2020-03-24 14:15:01 +01:00
|
|
|
ContentType = "content-type"
|
2020-06-17 08:06:40 +02:00
|
|
|
Expires = "expires"
|
2020-03-24 14:15:01 +01:00
|
|
|
Location = "location"
|
|
|
|
Origin = "origin"
|
2020-06-17 08:06:40 +02:00
|
|
|
Pragma = "pragma"
|
2020-06-05 07:50:04 +02:00
|
|
|
UserAgent = "user-agent"
|
|
|
|
ForwardedFor = "x-forwarded-for"
|
2020-03-23 13:26:05 +01:00
|
|
|
|
2020-06-17 08:06:40 +02:00
|
|
|
ContentSecurityPolicy = "content-security-policy"
|
|
|
|
XXSSProtection = "x-xss-protection"
|
|
|
|
StrictTransportSecurity = "strict-transport-security"
|
|
|
|
XFrameOptions = "x-frame-options"
|
|
|
|
XContentTypeOptions = "x-content-type-options"
|
|
|
|
ReferrerPolicy = "referrer-policy"
|
|
|
|
FeaturePolicy = "feature-policy"
|
|
|
|
|
2020-03-23 13:26:05 +01:00
|
|
|
ZitadelOrgID = "x-zitadel-orgid"
|
2020-04-07 13:23:04 +02:00
|
|
|
//TODO: Remove as soon an authentification is implemented
|
|
|
|
ZitadelUserID = "x-zitadel-userid"
|
|
|
|
ZitadelClientID = "x-zitadel-clientid"
|
|
|
|
ZitadelAgentID = "x-zitadel-agentid"
|
|
|
|
LoginKey = "x-zitadel-login"
|
2020-03-23 13:26:05 +01:00
|
|
|
)
|