Class AuthenticateOk
Sent by the server after successful authentication.
Inheritance
System.Object
AuthenticateOk
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class AuthenticateOk : Google.Protobuf.IMessage<AuthenticateOk>
Constructors
AuthenticateOk()
Declaration
AuthenticateOk(AuthenticateOk)
Declaration
public AuthenticateOk(AuthenticateOk other)
Parameters
Fields
AuthDataFieldNumber
Field number for the "auth_data" field.
Declaration
public const int AuthDataFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
AuthData
Declaration
public Google.Protobuf.ByteString AuthData { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasAuthData
Gets whether the "auth_data" field is set
Declaration
public bool HasAuthData { get; }
Property Value
Type |
Description |
System.Boolean |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<AuthenticateOk> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearAuthData()
Clears the value of the "auth_data" field
Declaration
public void ClearAuthData()
Clone()
Declaration
public AuthenticateOk Clone()
Returns
Equals(AuthenticateOk)
Declaration
public bool Equals(AuthenticateOk other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(AuthenticateOk)
Declaration
public void MergeFrom(AuthenticateOk other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage