ICredentialProvider.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>
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.
Remarks
If the task is successful and the app ID is valid, the result contains the password; otherwise, null.
This method is async to enable custom implementations that may need to call out to serviced to validate the appId / password pair.