dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / ActiveDirectoryAuthenticationProvider Class / SetAcquireAuthorizationCodeAsyncCallback Method
The callback method called by MSAL.NET to delegate the Web user interface for communication with the Secure Token Service (STS).

On this page
    SetAcquireAuthorizationCodeAsyncCallback Method
    On this page
    Sets a callback method that is invoked with a custom Web UI instance that allows the user to sign in with Azure Active Directory, provide consent if needed, and obtain the authorization code. The method is used when working with Active Directory Interactive authentication.
    Syntax
    'Declaration
     
    Public Sub SetAcquireAuthorizationCodeAsyncCallback( _
       ByVal acquireAuthorizationCodeAsyncCallback As Func(Of Uri,Uri,CancellationToken,Task(Of Uri)) _
    ) 
    public void SetAcquireAuthorizationCodeAsyncCallback( 
       Func<Uri,Uri,CancellationToken,Task<Uri>> acquireAuthorizationCodeAsyncCallback
    )

    Parameters

    acquireAuthorizationCodeAsyncCallback
    The callback method called by MSAL.NET to delegate the Web user interface for communication with the Secure Token Service (STS).
    See Also