Share via


SimpleCredentialProvider.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>
override this.IsAuthenticationDisabledAsync : unit -> System.Threading.Tasks.Task<bool>
Public Function IsAuthenticationDisabledAsync () As Task(Of Boolean)

Returns

A task that represents the work queued to execute.

Implements

Remarks

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

Applies to