Click or drag to resize

MySqlNativePasswordPlugin Class

Allows connections to a user account set with the mysql_native_password authentication plugin.
Inheritance Hierarchy
SystemObject
  MySql.Data.MySqlClient.AuthenticationMySqlAuthenticationPlugin
    MySql.Data.MySqlClient.AuthenticationMySqlNativePasswordPlugin

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

The MySqlNativePasswordPlugin type exposes the following members.

Constructors
  NameDescription
Public methodMySqlNativePasswordPlugin
Initializes a new instance of the MySqlNativePasswordPlugin class
Top
Properties
  NameDescription
Protected propertyEncoding
Gets the encoding assigned to the native driver.
(Inherited from MySqlAuthenticationPlugin.)
Public propertyPluginName (Overrides MySqlAuthenticationPluginPluginName.)
Protected propertyServerVersion
Gets the server version associated with this authentication plugin.
(Inherited from MySqlAuthenticationPlugin.)
Protected propertySettings
Gets the connection option settings.
(Inherited from MySqlAuthenticationPlugin.)
Top
Methods
  NameDescription
Protected methodAuthenticationFailed
Throws a MySqlException that encapsulates the original exception.
(Inherited from MySqlAuthenticationPlugin.)
Protected methodAuthenticationSuccessful
Defines the behavior when authentication is successful.
(Inherited from MySqlAuthenticationPlugin.)
Protected methodCheckConstraints
Defines the behavior when checking for constraints.
(Inherited from MySqlAuthenticationPlugin.)
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.)
Protected methodGet411Password
Returns a byte array containing the proper encryption of the given password/seed according to the new 4.1.1 authentication scheme.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPassword (Overrides MySqlAuthenticationPluginGetPassword.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsername
Gets the user name associated to the connection settings.
(Inherited from MySqlAuthenticationPlugin.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMoreData (Overrides MySqlAuthenticationPluginMoreData(Byte).)
Protected methodSetAuthData (Overrides MySqlAuthenticationPluginSetAuthData(Byte).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldAuthenticationData
Gets or sets the authentication data returned by the server.
(Inherited from MySqlAuthenticationPlugin.)
Top
See Also