Share via


SimpleCredentialProvider Class

Definition

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.

Applies to