Microsoft.Bot.Connector.SettingsCredentialProvider Class Reference

Credential provider which uses config settings to lookup appId and password More...

Inheritance diagram for Microsoft.Bot.Connector.SettingsCredentialProvider:

Public Member Functions

 SettingsCredentialProvider (string appIdSettingName=null, string appPasswordSettingName=null)
 
Task< string > GetAppPasswordAsync (string appId)
 Get the app password for a given bot appId, if it is not a valid appId, return Null More...
 
Task< bool > IsAuthenticationDisabledAsync ()
 Checks if bot authentication is disabled. More...
 
Task< bool > IsValidAppIdAsync (string appId)
 Validate AppId More...
 

Properties

string AppId [get, set]
 
string Password [get, set]
 

Detailed Description

Credential provider which uses config settings to lookup appId and password

Definition at line 70 of file CredentialProvider.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.SettingsCredentialProvider.SettingsCredentialProvider ( string  appIdSettingName = null,
string  appPasswordSettingName = null 
)
inline

Definition at line 72 of file CredentialProvider.cs.

Member Function Documentation

Task<string> Microsoft.Bot.Connector.SimpleCredentialProvider.GetAppPasswordAsync ( string  appId)
inlineinherited

Get the app password for a given bot appId, if it is not a valid appId, return Null

Parameters
appIdbot appid
Returns
password or null for invalid appid

Implements Microsoft.Bot.Connector.ICredentialProvider.

Definition at line 44 of file CredentialProvider.cs.

Task<bool> Microsoft.Bot.Connector.SimpleCredentialProvider.IsAuthenticationDisabledAsync ( )
inlineinherited

Checks if bot authentication is disabled.

Returns
true if bot authentication is disabled.

Implements Microsoft.Bot.Connector.ICredentialProvider.

Definition at line 49 of file CredentialProvider.cs.

Task<bool> Microsoft.Bot.Connector.SimpleCredentialProvider.IsValidAppIdAsync ( string  appId)
inlineinherited

Validate AppId

Parameters
appId
Returns
true if it is a valid AppId for the controller

Implements Microsoft.Bot.Connector.ICredentialProvider.

Definition at line 39 of file CredentialProvider.cs.

Property Documentation

string Microsoft.Bot.Connector.SimpleCredentialProvider.AppId
getsetinherited

Definition at line 35 of file CredentialProvider.cs.

string Microsoft.Bot.Connector.SimpleCredentialProvider.Password
getsetinherited

Definition at line 37 of file CredentialProvider.cs.


The documentation for this class was generated from the following file: