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

On this page
    AcquireTokenAsync Method (SqlAuthenticationProvider)
    On this page
    Acquires a security token from the authority.
    Syntax
    'Declaration
     
    Public Overridable Function AcquireTokenAsync( _
       ByVal parameters As SqlAuthenticationParameters _
    ) As Task(Of SqlAuthenticationToken)
    public virtual 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