BotApplication.UserTokenClient Property
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.
Gets the UserTokenClient used to manage OAuth user tokens (sign-in, sign-out, token exchange).
public virtual Microsoft.Teams.Core.UserTokenClient UserTokenClient { get; }
member this.UserTokenClient : Microsoft.Teams.Core.UserTokenClient
Public Overridable ReadOnly Property UserTokenClient As UserTokenClient
Property Value
Remarks
This property is only available when the bot is constructed via dependency injection or with an explicit UserTokenClient. It throws InvalidOperationException if accessed on a test instance created with the parameterless constructor.