2020-03-23 12:26:05 +00:00
|
|
|
package api
|
|
|
|
|
|
|
|
const (
|
|
|
|
Authorization = "authorization"
|
2020-03-24 13:15:01 +00:00
|
|
|
Accept = "accept"
|
|
|
|
AcceptLanguage = "accept-language"
|
2020-06-17 06:06:40 +00:00
|
|
|
CacheControl = "cache-control"
|
2020-03-24 13:15:01 +00:00
|
|
|
ContentType = "content-type"
|
2020-06-17 06:06:40 +00:00
|
|
|
Expires = "expires"
|
2020-03-24 13:15:01 +00:00
|
|
|
Location = "location"
|
|
|
|
Origin = "origin"
|
2020-06-17 06:06:40 +00:00
|
|
|
Pragma = "pragma"
|
2020-06-05 05:50:04 +00:00
|
|
|
UserAgent = "user-agent"
|
|
|
|
ForwardedFor = "x-forwarded-for"
|
2020-03-23 12:26:05 +00:00
|
|
|
|
2020-06-17 06:06:40 +00: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 12:26:05 +00:00
|
|
|
ZitadelOrgID = "x-zitadel-orgid"
|
2020-04-07 11:23:04 +00: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 12:26:05 +00:00
|
|
|
)
|