constants

package
v0.0.0-...-6020bed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// AnnotationProjectID is the domain-prefixed annotation key for project identity on API resources.
	AnnotationProjectID = "gateway.api-platform.wso2.com/project-id"
	// DeprecatedLabelProjectID is the bare label key for project identity (deprecated; use AnnotationProjectID).
	DeprecatedLabelProjectID = "project-id"
	// AnnotationArtifactID is the annotation key that pins the artifact UUID on an API resource.
	// When present and no UUID is provided externally, the gateway controller uses this value instead of generating one.
	AnnotationArtifactID = "gateway.api-platform.wso2.com/artifact-id"
)
View Source
const (
	// AuthorizationHeader is the HTTP header for authorization
	AuthorizationHeader = "Authorization"
	// BearerPrefix is the prefix for Bearer tokens in the Authorization header
	BearerPrefix = "Bearer "
	// BasicPrefix is the prefix for Basic auth in the Authorization header
	BasicPrefix = "Basic "
	// AuthzSkipKey is the context key to indicate to skip
	AuthzSkipKey = "skip_authz"
	// AuthContextKey is the context key for packed authentication context
	AuthContextKey = "auth_context"
)
View Source
const (
	// Server Header manipulation strategies for HCM Listener
	APPEND_IF_ABSENT = "APPEND_IF_ABSENT"
	OVERWRITE        = "OVERWRITE"
	PASS_THROUGH     = "PASS_THROUGH"

	// ServerName for HCM listener in Gateway
	ServerName = "WSO2 API Platform"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL