dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / ActiveDirectoryAuthenticationProvider Class / ActiveDirectoryAuthenticationProvider Constructor / ActiveDirectoryAuthenticationProvider Constructor(Func<DeviceCodeResult,Task>,String)
The callback method used with Active Directory Device Code Flow authentication.
The client application ID used to acquire an access token for federated authentication. The driver uses its own application client ID by default.

On this page
    ActiveDirectoryAuthenticationProvider Constructor(Func<DeviceCodeResult,Task>,String)
    On this page
    Initializes the ActiveDirectoryAuthenticationProvider class with the provided device code flow callback method and application client ID.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal deviceCodeFlowCallbackMethod As Func(Of DeviceCodeResult,Task), _
       Optional ByVal applicationClientId As String _
    )
    public ActiveDirectoryAuthenticationProvider( 
       Func<DeviceCodeResult,Task> deviceCodeFlowCallbackMethod,
       string applicationClientId
    )

    Parameters

    deviceCodeFlowCallbackMethod
    The callback method used with Active Directory Device Code Flow authentication.
    applicationClientId
    The client application ID used to acquire an access token for federated authentication. The driver uses its own application client ID by default.
    See Also