Class HandshakeResult
Extended ConnectResult which may include a session handshake.
[MessagePackObject(false)]
public sealed class HandshakeResult : ConnectResult
- Inheritance
-
HandshakeResult
- Inherited Members
Constructors
HandshakeResult(bool, Identity?, byte[]?, SessionChallenge?, byte[]?)
[SerializationConstructor]
public HandshakeResult(bool isLegacy, Identity? authenticatedIdentity, byte[]? encryptedHandshake, SessionChallenge? challenge = null, byte[]? sessionTicket = null)
Parameters
isLegacyboolauthenticatedIdentityIdentityencryptedHandshakebyte[]challengeSessionChallengesessionTicketbyte[]
Fields
Challenge
A challenge the client must answer by connecting again, before the server will return a handshake.
[Key(3)]
public readonly SessionChallenge? Challenge
Field Value
EncryptedHandshake
[Key(2)]
public readonly byte[]? EncryptedHandshake
Field Value
- byte[]
SessionTicket
The session sealed by the server, which the client returns with each request.
[Key(4)]
public readonly byte[]? SessionTicket
Field Value
- byte[]
Properties
RequiresPasswordReset
Set by the client when the decrypted handshake established a session that may only replace a temporary password.
[IgnoreMember]
public bool RequiresPasswordReset { get; init; }