PasswordServiceClientCredentialFactory 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.
A simple implementation of the ServiceClientCredentialsFactory interface.
public class PasswordServiceClientCredentialFactory : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory
type PasswordServiceClientCredentialFactory = class
inherit ServiceClientCredentialsFactory
Public Class PasswordServiceClientCredentialFactory
Inherits ServiceClientCredentialsFactory
- Inheritance
Constructors
PasswordServiceClientCredentialFactory() |
Initializes a new instance of the PasswordServiceClientCredentialFactory class. with empty credentials. |
PasswordServiceClientCredentialFactory(String, String, String, HttpClient, ILogger) |
Initializes a new instance of the PasswordServiceClientCredentialFactory class. with the provided credentials. |
Properties
AppId |
Gets or sets the app ID for this credential. |
Password |
Gets or sets the app password for this credential. |
TenantId |
Gets the Tenant ID of the Azure AD tenant where the bot is created. |
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. |