JwtExtensions Class
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.
Provides extension methods for configuring JWT authentication and authorization for bots and agents.
public static class JwtExtensions
type JwtExtensions = class
Public Module JwtExtensions
- Inheritance
-
JwtExtensions
Methods
| Name | Description |
|---|---|
| AddBotAuthentication(AuthenticationBuilder, String, String, String, ILogger) |
Adds JWT authentication for bots and agents to an existing authentication builder. Use this overload when registering multiple authentication schemes to avoid calling AddAuthentication() multiple times. |
| AddBotAuthentication(IServiceCollection, String, ILogger) |
Adds JWT authentication for bots and agents using configuration from appsettings. |
| AddBotAuthentication(IServiceCollection, String, String, String, ILogger) |
Adds JWT authentication for bots and agents with manually provided configuration values. |
| AddBotAuthorization(IServiceCollection, String, ILogger) |
Adds authorization policies to the service collection using configuration from appsettings. |
| AddBotAuthorization(IServiceCollection, String, String, String, ILogger) |
Adds authorization policies to the service collection with manually provided configuration values. |