SimpleCredentialProvider.GetAppPasswordAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the app password for a given bot app ID.
public System.Threading.Tasks.Task<string> GetAppPasswordAsync (string appId);
abstract member GetAppPasswordAsync : string -> System.Threading.Tasks.Task<string>
override this.GetAppPasswordAsync : string -> System.Threading.Tasks.Task<string>
Public Function GetAppPasswordAsync (appId As String) As Task(Of String)
Parameters
- appId
- String
The ID of the app to get the password for.
Returns
A task that represents the work queued to execute.
Implements
Remarks
If the task is successful and the app ID is valid, the result contains the password; otherwise, null.