SimpleCredentialProvider Class

Definition

A simple implementation of the ICredentialProvider interface.

public class SimpleCredentialProvider : Microsoft.Bot.Connector.Authentication.ICredentialProvider
type SimpleCredentialProvider = class
    interface ICredentialProvider
Public Class SimpleCredentialProvider
Implements ICredentialProvider
Inheritance
SimpleCredentialProvider
Derived
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