<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview3.25342.7" />

Microsoft.Data.SqlClient.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 connection timeout value.

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.

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

Initializes a new instance of the SqlAuthenticationParameters class using the specified authentication method, server name, database name, resource URI, authority URI, user login name/ID, user password, connection ID and connection timeout value.