<PackageReference Include="Microsoft.Data.SqlClient.Extensions.Abstractions" Version="1.0.0" />

Microsoft.Data.SqlClient.SqlAuthenticationParameters

public sealed class SqlAuthenticationParameters
Represents AD authentication parameters passed by a driver to authentication providers.

Gets the authentication method.

public string Authority { get; }

Gets the authority URI.

public Guid ConnectionId { get; }

Gets the connection ID.

public int ConnectionTimeout { get; }

Gets the authentication timeout value, in seconds.

public string DatabaseName { get; }

Gets the database name.

public string Password { get; }

Gets the user password.

public string Resource { get; }

The resource URIs.

public string ServerName { get; }

Gets the server name.

public string UserId { get; }

Gets the user login name/ID.

public SqlAuthenticationParameters(SqlAuthenticationMethod authenticationMethod, string serverName, string databaseName, string resource, string authority, string userId, string password, Guid connectionId, int connectionTimeout)

Construct with values for all properties.