ICredentialProvider Interface

Definition

CredentialProvider interface. This interface allows Bots to provide their own implementation of what is, and what is not, a valid appId and password. This is useful in the case of multi-tenant bots, where the bot may need to call out to a service to determine if a particular appid/password pair is valid.

For Single Tenant bots (the vast majority) the simple static providers are sufficient.

public interface ICredentialProvider
type ICredentialProvider = interface
Public Interface ICredentialProvider
Derived

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