OBOExchange.HandleOBO Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
protected System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.TokenResponse> HandleOBO(Microsoft.Agents.Builder.ITurnContext turnContext, Microsoft.Agents.Core.Models.TokenResponse token, string exchangeConnection = default, System.Collections.Generic.IList<string> exchangeScopes = default, System.Threading.CancellationToken cancellationToken = default);
member this.HandleOBO : Microsoft.Agents.Builder.ITurnContext * Microsoft.Agents.Core.Models.TokenResponse * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.TokenResponse>
Protected Function HandleOBO (turnContext As ITurnContext, token As TokenResponse, Optional exchangeConnection As String = Nothing, Optional exchangeScopes As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TokenResponse)
Parameters
- turnContext
- ITurnContext
- token
- TokenResponse
- exchangeConnection
- String
- cancellationToken
- CancellationToken