Class PublishedPort
Published port key/value pair. Requests to the published URL may supply X-App-Token with the raw application token, without a Bearer prefix. After the sandbox's access policy succeeds, the proxy builds the upstream Authorization header as Bearer followed by the unchanged token and removes X-App-Token. This applies to HTTP, SSE, and WebSocket opening handshakes, and does not replace required OCI authentication. Exactly one nonempty printable ASCII token of at most 8192 bytes is accepted; whitespace, commas, control characters, and duplicate values are rejected with HTTP 400. Both header names must be treated as sensitive credentials.
Inherited Members
Namespace: Oci.GenerativeaisandboxService.Models
Assembly: OCI.DotNetSDK.Generativeaisandbox.dll
Syntax
public class PublishedPort
Properties
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Key string. |
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Value string. |
Remarks
Required