ActiveDirectoryAuthenticationProviderOptions.DeviceCodeFlowCallback Property
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.
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)