Share via


IServiceClientCredentialProvider Interface

Definition

Caution

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

ServiceClientCredentialProvider interface. This interface allows Bots to provide their own proof of service identity for the purpose of making service calls from the bot to channels. The implementor should return ServiceClientCredentails from GetCredentials method.

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public interface IServiceClientCredentialProvider : Microsoft.Bot.Connector.Authentication.ICredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type IServiceClientCredentialProvider = interface
    interface ICredentialProvider
Public Interface IServiceClientCredentialProvider
Implements ICredentialProvider
Attributes
Implements

Methods

GetAppPasswordAsync(String)

Gets the app password for a given bot app ID.

(Inherited from ICredentialProvider)
GetCredentials()

Get the credential necessary to provide identity/authorization to use.

IsAuthenticationDisabledAsync()

Checks whether bot authentication is disabled.

(Inherited from ICredentialProvider)
IsValidAppIdAsync(String)

Validates an app ID.

(Inherited from ICredentialProvider)

Applies to