Share via


ICredentialProvider.IsAuthenticationDisabledAsync Method

Definition

Checks whether bot authentication is disabled.

public System.Threading.Tasks.Task<bool> IsAuthenticationDisabledAsync ();
abstract member IsAuthenticationDisabledAsync : unit -> System.Threading.Tasks.Task<bool>
Public Function IsAuthenticationDisabledAsync () As Task(Of Boolean)

Returns

A task that represents the work queued to execute.

Remarks

If the task is successful and bot authentication is disabled, the result is true; otherwise, false.

This method is async to enable custom implementations that may need to call out to serviced to validate the appId / password pair.

Applies to