SimpleCredentialProvider 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.
Caution
Use ConfigurationBotFrameworkAuthentication
instead to configure credentials.
A simple implementation of the ICredentialProvider interface.
[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public class SimpleCredentialProvider : Microsoft.Bot.Connector.Authentication.ICredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type SimpleCredentialProvider = class
interface ICredentialProvider
Public Class SimpleCredentialProvider
Implements ICredentialProvider
- Inheritance
-
SimpleCredentialProvider
- Derived
- Attributes
- Implements
Constructors
SimpleCredentialProvider() |
Initializes a new instance of the SimpleCredentialProvider class. with empty credentials. |
SimpleCredentialProvider(String, String) |
Initializes a new instance of the SimpleCredentialProvider 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. |
Methods
GetAppPasswordAsync(String) |
Gets the app password for a given bot app ID. |
IsAuthenticationDisabledAsync() |
Checks whether bot authentication is disabled. |
IsValidAppIdAsync(String) |
Validates an app ID. |