MySqlProvidePasswordContext class

Provides context for the ProvidePasswordCallback delegate.

public sealed class MySqlProvidePasswordContext

Public Members

Database { get; }The optional initial database; this value may be the empty string. This corresponds to Database.
Port { get; }The server port. This corresponds to Port.
Server { get; }The server to which MySqlConnector is connecting. This is a host name from the Server option.
UserId { get; }The user ID being used for authentication. This corresponds to UserID.

See Also