dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / ActiveDirectoryAuthenticationProvider Class / AcquireTokenAsync Method
The Active Directory authentication parameters that the driver passes to authentication providers.

On this page
    AcquireTokenAsync Method (ActiveDirectoryAuthenticationProvider)
    On this page
    Acquires a security token from the authority.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function AcquireTokenAsync( _
       ByVal parameters As SqlAuthenticationParameters _
    ) As Task(Of SqlAuthenticationToken)
    public override Task<SqlAuthenticationToken> AcquireTokenAsync( 
       SqlAuthenticationParameters parameters
    )

    Parameters

    parameters
    The Active Directory authentication parameters that the driver passes to authentication providers.

    Return Value

    Returns Task<SqlAuthenticationToken> that represents an asynchronous operation to obtain the AD authentication token.
    See Also