dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / ActiveDirectoryAuthenticationProvider Class / SetDeviceCodeFlowCallback Method
The callback method used with Active Directory Device Code Flow authentication.

On this page
    SetDeviceCodeFlowCallback Method
    On this page
    Sets the callback method and overrides the default implementation that processes the result of Active Directory Device Code Flow authentication.
    Syntax
    'Declaration
     
    Public Sub SetDeviceCodeFlowCallback( _
       ByVal deviceCodeFlowCallbackMethod As Func(Of DeviceCodeResult,Task) _
    ) 
    public void SetDeviceCodeFlowCallback( 
       Func<DeviceCodeResult,Task> deviceCodeFlowCallbackMethod
    )

    Parameters

    deviceCodeFlowCallbackMethod
    The callback method used with Active Directory Device Code Flow authentication.
    See Also