Skip to content

Commit

Permalink
change bot name
Browse files Browse the repository at this point in the history
  • Loading branch information
JhontSouth committed Oct 12, 2023
1 parent 1bf2a17 commit b17694e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Logging;

namespace Microsoft.BotBuilderSamples
{
public class AuthCertificateBot : ActivityHandler
public class AuthSNIBot : ActivityHandler
{
protected override async Task OnMembersAddedAsync(IList<ChannelAccount> membersAdded, ITurnContext<IConversationUpdateActivity> turnContext, CancellationToken cancellationToken)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT License.

using System;
using System.Security.Cryptography.X509Certificates;
using Azure.Identity;
using Azure.Security.KeyVault.Certificates;
using Microsoft.AspNetCore.Builder;
Expand Down Expand Up @@ -76,7 +75,7 @@ public void ConfigureServices(IServiceCollection services)
services.AddSingleton<ConversationState>();

// Create the bot as a transient. In this case the ASP Controller is expecting an IBot.
services.AddTransient<IBot, AuthCertificateBot>();
services.AddTransient<IBot, AuthSNIBot>();
}

// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
Expand Down

0 comments on commit b17694e

Please sign in to comment.