Class MySqlNativePasswordPlugin
Allows connections to a user account set with the mysql_native_password authentication plugin.
Inheritance
System.Object
MySqlNativePasswordPlugin
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public class MySqlNativePasswordPlugin : MySqlAuthenticationPlugin
Properties
PluginName
Declaration
public override string PluginName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
Get411Password(String, Byte[])
Returns a byte array containing the proper encryption of the
given password/seed according to the new 4.1.1 authentication scheme.
Declaration
protected byte[] Get411Password(string password, byte[] seedBytes)
Parameters
Type |
Name |
Description |
System.String |
password |
|
System.Byte[] |
seedBytes |
|
Returns
Type |
Description |
System.Byte[] |
|
GetPassword()
Declaration
public override object GetPassword()
Returns
Type |
Description |
System.Object |
|
Overrides
MoreDataAsync(Byte[], Boolean)
Declaration
protected override Task<byte[]> MoreDataAsync(byte[] data, bool execAsync)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Boolean |
execAsync |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte[]> |
|
Overrides
SetAuthData(Byte[])
Declaration
protected override void SetAuthData(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Overrides