Udostępnij za pośrednictwem


ArmBotServiceModelFactory.BotServiceHostSettingsResult Method

Definition

Initializes a new instance of BotServiceHostSettingsResult.

public static Azure.ResourceManager.BotService.Models.BotServiceHostSettingsResult BotServiceHostSettingsResult (Uri oAuthUri = default, Uri toBotFromChannelOpenIdMetadataUri = default, string toBotFromChannelTokenIssuer = default, Uri toBotFromEmulatorOpenIdMetadataUri = default, Uri toChannelFromBotLoginUri = default, string toChannelFromBotOAuthScope = default, bool? validateAuthority = default, string botOpenIdMetadata = default);
static member BotServiceHostSettingsResult : Uri * Uri * string * Uri * Uri * string * Nullable<bool> * string -> Azure.ResourceManager.BotService.Models.BotServiceHostSettingsResult
Public Shared Function BotServiceHostSettingsResult (Optional oAuthUri As Uri = Nothing, Optional toBotFromChannelOpenIdMetadataUri As Uri = Nothing, Optional toBotFromChannelTokenIssuer As String = Nothing, Optional toBotFromEmulatorOpenIdMetadataUri As Uri = Nothing, Optional toChannelFromBotLoginUri As Uri = Nothing, Optional toChannelFromBotOAuthScope As String = Nothing, Optional validateAuthority As Nullable(Of Boolean) = Nothing, Optional botOpenIdMetadata As String = Nothing) As BotServiceHostSettingsResult

Parameters

oAuthUri
Uri

For in-conversation bot user authentication.

toBotFromChannelOpenIdMetadataUri
Uri

For verifying incoming tokens from the channels.

toBotFromChannelTokenIssuer
String

For verifying incoming tokens from the channels.

toBotFromEmulatorOpenIdMetadataUri
Uri

For verifying incoming tokens from bot emulator.

toChannelFromBotLoginUri
Uri

For getting access token to channels from bot host.

toChannelFromBotOAuthScope
String

For getting access token to channels from bot host.

validateAuthority
Nullable<Boolean>

Per cloud OAuth setting on whether authority is validated.

botOpenIdMetadata
String

Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.

Returns

A new BotServiceHostSettingsResult instance for mocking.

Applies to