Skip to content

Commit

Permalink
clean sample documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JhontSouth committed Oct 12, 2023
1 parent 9963955 commit 18ab4e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Authentication Bot using SSL/TLS certificates

Bot Framework v4 bot authentication sample

Bot Framework v4 bot authentication using Certificate

This bot has been created using [Bot Framework](https://dev.botframework.com/), is shows how to use the bot authentication capabilities of Azure Bot Service. In this sample, we use a local or KeyVault certificate to create the Bot Framework Authentication.
Expand Down Expand Up @@ -38,7 +36,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com/),

- Run the bot from a terminal or from Visual Studio:

A) From a terminal, navigate to `samples/csharp_dotnetcore/18.bot-authentication`
A) From a terminal, navigate to `samples/csharp_dotnetcore/84.bot-authentication-certificate`

```bash
# run the bot
Expand All @@ -49,8 +47,8 @@ This bot has been created using [Bot Framework](https://dev.botframework.com/),

- Launch Visual Studio
- File -> Open -> Project/Solution
- Navigate to `samples/csharp_dotnetcore/18.bot-authentication` folder
- Select `AuthenticationBot.csproj` file
- Navigate to `samples/csharp_dotnetcore/84.bot-authentication-certificate` folder
- Select `AuthCertificateBot.csproj` file
- Press `F5` to run the project

## Testing the bot using Bot Framework Emulator
Expand Down Expand Up @@ -118,13 +116,11 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Bot Framework Documentation](https://docs.botframework.com)
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Azure Portal](https://portal.azure.com)
- [Add Authentication to Your Bot Via Azure Bot Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=csharp)
- [Activity processing](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-activity-processing?view=azure-bot-service-4.0)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
- [SSL/TLS certificates](https://www.digicert.com/tls-ssl/tls-ssl-certificates)
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Licensed under the MIT License.

using System;
using System.Runtime.ConstrainedExecution;
using System.Security.Cryptography.X509Certificates;
using Azure.Identity;
using Azure.Security.KeyVault.Certificates;
using Microsoft.AspNetCore.Builder;
Expand All @@ -14,7 +12,6 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using static System.Net.WebRequestMethods;

namespace Microsoft.BotBuilderSamples
{
Expand Down Expand Up @@ -67,7 +64,6 @@ public void ConfigureServices(IServiceCollection services)
// Create the Conversation state. (Used by the Dialog system itself.)
services.AddSingleton<ConversationState>();


// Create the bot as a transient. In this case the ASP Controller is expecting an IBot.
services.AddTransient<IBot, AuthCertificateBot>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bot Authentication Sample</title>
<title>Bot Authentication Using Certificates Sample</title>
<style>
body {
margin: 0px;
Expand Down Expand Up @@ -392,7 +392,7 @@
<header class="header">
<div class="header-inner-container">
<div class="header-icon" style="display: inline-block"></div>
<div class="header-text" style="display: inline-block">Bot Authentication Sample</div>
<div class="header-text" style="display: inline-block">Bot Authentication Using Certificates Sample</div>
</div>
</header>
<div class="row">
Expand Down

0 comments on commit 18ab4e5

Please sign in to comment.