Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsForbiddenIdentityHeaderName ¶
IsForbiddenIdentityHeaderName reports whether name must not be used as the caller identity header.
func IsForbiddenJWTSourceHeaderName ¶ added in v0.3.1
IsForbiddenJWTSourceHeaderName reports whether name must not be used as the JWT token source header.
func IsValidHeaderName ¶ added in v0.4.0
IsValidHeaderName reports whether name is a syntactically valid HTTP header field name. A value like "X Tenant" or " " isn't caught by an empty-string check but can never match a real request header, so config-sourced names should be validated here before being trusted for r.Header.Get lookups.
Types ¶
This section is empty.