MsalServiceClientCredentialsFactory 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.
Credential factory that uses MSAL to acquire tokens.
public class MsalServiceClientCredentialsFactory : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory
type MsalServiceClientCredentialsFactory = class
inherit ServiceClientCredentialsFactory
Public Class MsalServiceClientCredentialsFactory
Inherits ServiceClientCredentialsFactory
- Inheritance
Constructors
MsalServiceClientCredentialsFactory(IConfiguration, IConfidentialClientApplication, ILogger) |
Initializes a new instance of the MsalServiceClientCredentialsFactory class. |
Properties
AppId |
Gets the Microsoft App id. |
TenantId |
Gets the Microsoft Tenant id. |
Methods
CreateCredentialsAsync(String, String, String, Boolean, CancellationToken) |
A factory method for creating ServiceClientCredentials. |
IsAuthenticationDisabledAsync(CancellationToken) |
Checks whether bot authentication is disabled. |
IsValidAppIdAsync(String, CancellationToken) |
Validates an app ID. |