Jaa


SimpleCredentialProvider.GetAppPasswordAsync(String) Method

Definition

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.

Applies to