Microsoft.Bot.Connector.StaticCredentialProvider Class Reference

Static credential provider which has the appid and password static More...

Inheritance diagram for Microsoft.Bot.Connector.StaticCredentialProvider:

Public Member Functions

 StaticCredentialProvider (string appId, string password)
 
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

Static credential provider which has the appid and password static

Definition at line 61 of file CredentialProvider.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.StaticCredentialProvider.StaticCredentialProvider ( string  appId,
string  password 
)
inline

Definition at line 63 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 47 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 52 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 42 of file CredentialProvider.cs.

Property Documentation

string Microsoft.Bot.Connector.SimpleCredentialProvider.AppId
getsetinherited

Definition at line 38 of file CredentialProvider.cs.

string Microsoft.Bot.Connector.SimpleCredentialProvider.Password
getsetinherited

Definition at line 40 of file CredentialProvider.cs.


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