Class WebChannel
The configuration for a Web channel.
Inherited Members
Namespace: Oci.OdaService.Models
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class WebChannel : Channel
Properties
AllowedDomains
Declaration
[JsonProperty(PropertyName = "allowedDomains")]
public string AllowedDomains { get; set; }
Property Value
Type | Description |
---|---|
string | A comma-delimited whitelist of allowed domains. The channel will only communicate with the sites from the domains that you add to this list. For example, *.corp.example.com, .hdr.example.com. Entering a single asterisk () allows unrestricted access to the channel from any domain. Typically, you'd only enter a single asterisk during development. For production, you would add an allowlist of domains. |
BotId
Declaration
[JsonProperty(PropertyName = "botId")]
public string BotId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the Skill or Digital Assistant that the Channel is routed to. |
IsClientAuthenticationEnabled
Declaration
[Required(ErrorMessage = "IsClientAuthenticationEnabled is required.")]
[JsonProperty(PropertyName = "isClientAuthenticationEnabled")]
public bool? IsClientAuthenticationEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether client authentication is enabled or not. |
Remarks
Required
MaxTokenExpirationTimeInMinutes
Declaration
[JsonProperty(PropertyName = "maxTokenExpirationTimeInMinutes")]
public long? MaxTokenExpirationTimeInMinutes { get; set; }
Property Value
Type | Description |
---|---|
long? | The maximum time until the token expires (in minutes). |