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.
Click to show internal directories.
Click to hide internal directories.