Schema Explorer

Choose element:

Important note about accessibility: In version 1.3 of the schema we introduced a label property on Inputs to improve accessibility. If the Host app you are targeting supports v1.3 you should use label instead of a TextBlock as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.

TokenExchangeResource

Defines information required to enable on-behalf-of single sign-on user authentication. Maps to the TokenExchangeResource type defined by the Bot Framework (https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource)

Introduced in version 1.4

Property Type Required Description Version
id string Yes The unique identified of this token exchange instance. 1.4
uri string Yes An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific. 1.4
providerId string Yes An identifier for the identity provider with which to attempt a token exchange. 1.4

Properties

id

The unique identified of this token exchange instance.

  • Type: string
  • Required: Yes

uri

An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific.

  • Type: string
  • Required: Yes

providerId

An identifier for the identity provider with which to attempt a token exchange.

  • Type: string
  • Required: Yes