BotFrameworkAdapterSettings クラス

BotFrameworkAdapter インスタンスの初期化に使用する設定が含まれています。

値は、config.py ファイル内 MicrosoftAppPassword パラメーターです。 :type app_password: str :p aram channel_auth_tenant: conversation :type channel_auth_tenant: str :p aram oauth_endpoint: :type oauth_endpoint: str :p aram open_id_metadata: :type open_id_metadata: str :p aram channel_provider: channel provider :type channel_provider: <xref:botframework.connector.auth.ChannelProvider>. 指定されていない場合は、SimpleChannelProvider が既定値になります。 :p aram auth_configuration: :type auth_configuration: <xref:botframework.connector.auth.AuthenticationConfiguration> :p aram credential_provider: 指定されていない場合は SimpleCredentialProvider が既定値になります。 :p aram app_credentials: カスタム AppCredentials を使用できます。 たとえば CertificateAppCredentials に使用されます。

コンストラクター

BotFrameworkAdapterSettings(app_id: str, app_password: str = None, channel_auth_tenant: str = None, oauth_endpoint: str = None, open_id_metadata: str = None, channel_provider: ChannelProvider = None, auth_configuration: AuthenticationConfiguration = None, app_credentials: AppCredentials = None, credential_provider: CredentialProvider = None)

パラメーター

名前 説明
app_id
必須
str

ボット アプリケーション ID。

app_password

ボット アプリケーションのパスワード。

規定値: None
channel_auth_tenant
規定値: None
oauth_endpoint
規定値: None
open_id_metadata
規定値: None
channel_provider
規定値: None
auth_configuration
規定値: None
app_credentials
規定値: None
credential_provider
規定値: None