通过


IChatConnectorEndpoint interface

用于在 ChatConnector 实例中设置各种终结点的选项。 这不应更改,通常由 IChatConnectorSettings 中的开发人员提供。 应更改 IChatConnectorSettings“stateEndpoint”和“openIdMetadata”中的两个属性。

属性

botConnectorAudience

此值通过 IChatConnectorSettings.appId 提供。

botConnectorIssuer

默认值为 https://api.botframework.com

botConnectorOpenIdMetadata

默认值为 https://login.botframework.com/v1/.well-known/openidconfiguration。 可通过 IChatConnectorSettings.openIdMetadata 进行配置。

emulatorAudience

此值通过 IChatConnectorSettings.appId 提供。

emulatorIssuerV1

默认值为 https://sts.windows.net/d6d49420-f39b-4df7-a1dc-d59a935871db/

emulatorIssuerV2

默认值为 https://login.microsoftonline.com/d6d49420-f39b-4df7-a1dc-d59a935871db/v2.0

emulatorOpenIdMetadata

默认值为 https://login.microsoftonline.com/botframework.com/v2.0/.well-known/openid-configuration

msaAudience

默认值为 https://graph.microsoft.com

msaIssuer

默认值为 https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/

msaOpenIdMetadata

默认值为 https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration

oAuthEndpoint

默认值为 https://api.botframework.com。 可通过 IChatConnectorSettings.oAuthEndpoint 进行配置。

refreshEndpoint

默认值为 https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token

refreshScope

默认值为 https://api.botframework.com/.default

stateEndpoint

默认值为 https://state.botframework.com。 可通过 IChatConnectorSettings.stateEndpoint 进行配置。

属性详细信息

botConnectorAudience

此值通过 IChatConnectorSettings.appId 提供。

botConnectorAudience: string

属性值

string

botConnectorIssuer

默认值为 https://api.botframework.com

botConnectorIssuer: string

属性值

string

botConnectorOpenIdMetadata

默认值为 https://login.botframework.com/v1/.well-known/openidconfiguration。 可通过 IChatConnectorSettings.openIdMetadata 进行配置。

botConnectorOpenIdMetadata: string

属性值

string

emulatorAudience

此值通过 IChatConnectorSettings.appId 提供。

emulatorAudience: string

属性值

string

emulatorIssuerV1

默认值为 https://sts.windows.net/d6d49420-f39b-4df7-a1dc-d59a935871db/

emulatorIssuerV1: string

属性值

string

emulatorIssuerV2

默认值为 https://login.microsoftonline.com/d6d49420-f39b-4df7-a1dc-d59a935871db/v2.0

emulatorIssuerV2: string

属性值

string

emulatorOpenIdMetadata

默认值为 https://login.microsoftonline.com/botframework.com/v2.0/.well-known/openid-configuration

emulatorOpenIdMetadata: string

属性值

string

msaAudience

默认值为 https://graph.microsoft.com

msaAudience: string

属性值

string

msaIssuer

默认值为 https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/

msaIssuer: string

属性值

string

msaOpenIdMetadata

默认值为 https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration

msaOpenIdMetadata: string

属性值

string

oAuthEndpoint

默认值为 https://api.botframework.com。 可通过 IChatConnectorSettings.oAuthEndpoint 进行配置。

oAuthEndpoint: string

属性值

string

refreshEndpoint

默认值为 https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token

refreshEndpoint: string

属性值

string

refreshScope

默认值为 https://api.botframework.com/.default

refreshScope: string

属性值

string

stateEndpoint

默认值为 https://state.botframework.com。 可通过 IChatConnectorSettings.stateEndpoint 进行配置。

stateEndpoint: string

属性值

string