Click or drag to resize

MySqlAuthenticationPlugin Class

Defines the default behavior for an authentication plugin.
Inheritance Hierarchy

Namespace:  MySql.Data.MySqlClient.Authentication
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
public abstract class MySqlAuthenticationPlugin

The MySqlAuthenticationPlugin type exposes the following members.

Protected methodMySqlAuthenticationPlugin
Initializes a new instance of the MySqlAuthenticationPlugin class
Protected propertyEncoding
Gets the encoding assigned to the native driver.
Public propertyPluginName
Gets the plugin name based on the authentication plugin type defined during the creation of this object.
Protected propertyServerVersion
Gets the server version associated with this authentication plugin.
Protected propertySettings
Gets the connection option settings.
Protected methodAuthenticationFailed
Throws a MySqlException that encapsulates the original exception.
Protected methodAuthenticationSuccessful
Defines the behavior when authentication is successful.
Protected methodCheckConstraints
Defines the behavior when checking for constraints.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPassword
Gets the encoded, encrypted, or converted password based on the authentication plugin type defined during the creation of this object. This method is intended to be overriden.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsername
Gets the user name associated to the connection settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMoreData
Defines the behavior when more data is required from the server.
Protected methodSetAuthData
Sets the authentication data required to encode, encrypt, or convert the password of the user.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected fieldAuthenticationData
Gets or sets the authentication data returned by the server.
See Also