AppBuilder.AddOAuth(String) 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.
Registers an OAuth connection for the bot application.
public Microsoft.Teams.Apps.AppBuilder AddOAuth(string connectionName);
member this.AddOAuth : string -> Microsoft.Teams.Apps.AppBuilder
Public Function AddOAuth (connectionName As String) As AppBuilder
Parameters
- connectionName
- String
The OAuth connection name configured on the bot.
Returns
This builder instance for chaining.