DeviceCodeCredentialOptions.DeviceCodeCallback Property

Definition

The callback which will be executed to display the device code login details to the user. In not specified the device code and login instructions will be printed to the console.

public Func<Azure.Identity.DeviceCodeInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task> DeviceCodeCallback { get; set; }
member this.DeviceCodeCallback : Func<Azure.Identity.DeviceCodeInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task> with get, set
Public Property DeviceCodeCallback As Func(Of DeviceCodeInfo, CancellationToken, Task)

Property Value

System.Func<DeviceCodeInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task>

Applies to