Språk

ActiveDirectoryAuthenticationProviderOptions.DeviceCodeFlowCallback Property

Definition

Optional device-code-flow callback invoked for SqlAuthenticationMethod.ActiveDirectoryDeviceCodeFlow. When null, the provider's default callback (which writes the device-code instructions to the console) is used.

public:
 property Func<Microsoft::Identity::Client::DeviceCodeResult ^, System::Threading::Tasks::Task ^> ^ DeviceCodeFlowCallback { Func<Microsoft::Identity::Client::DeviceCodeResult ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::Identity::Client::DeviceCodeResult ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task>? DeviceCodeFlowCallback { get; set; }
member this.DeviceCodeFlowCallback : Func<Microsoft.Identity.Client.DeviceCodeResult, System.Threading.Tasks.Task> with get, set
Public Property DeviceCodeFlowCallback As Func(Of DeviceCodeResult, Task)

Property Value

Applies to