Class OperationTicket
[MessagePackObject(false)]
public sealed class OperationTicket
- Inheritance
-
OperationTicket
- Inherited Members
Constructors
OperationTicket(Identity, byte[]?, string, string, byte[]?)
public OperationTicket(Identity subject, byte[]? token, string appVersion, string environmentName, byte[]? sessionTicket)
Parameters
OperationTicket(Identity, byte[]?, string, string, byte[]?, byte[]?, byte[]?)
[SerializationConstructor]
public OperationTicket(Identity subject, byte[]? token, string appVersion, string environmentName, byte[]? sessionTicket, byte[]? sealedChallenge, byte[]? challengeAnswer)
Parameters
subjectIdentitytokenbyte[]appVersionstringenvironmentNamestringsessionTicketbyte[]sealedChallengebyte[]challengeAnswerbyte[]
Fields
AppVersion
[Key(2)]
public readonly string AppVersion
Field Value
ChallengeAnswer
The client's answer to the challenge in SealedChallenge.
[Key(6)]
public readonly byte[]? ChallengeAnswer
Field Value
- byte[]
EnvironmentName
[Key(3)]
public readonly string EnvironmentName
Field Value
SealedChallenge
A session challenge sealed by the server, returned with ChallengeAnswer when connecting.
[Key(5)]
public readonly byte[]? SealedChallenge
Field Value
- byte[]
SessionTicket
A session ticket sealed by the server, returned with each request so the server can resume the session.
[Key(4)]
public readonly byte[]? SessionTicket
Field Value
- byte[]
Subject
This is an "input identity" in which the Username is produced directly by an authenticator, rather than resolved from an account
[Key(0)]
public readonly Identity Subject
Field Value
Token
[Key(1)]
public readonly byte[]? Token
Field Value
- byte[]
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
WithChallengeAnswer(byte[], byte[])
public OperationTicket WithChallengeAnswer(byte[] sealedChallenge, byte[] challengeAnswer)
Parameters
Returns
WithSessionTicket(byte[]?)
public OperationTicket WithSessionTicket(byte[]? sessionTicket)
Parameters
sessionTicketbyte[]
Returns
WithToken(byte[]?)
public OperationTicket WithToken(byte[]? token)
Parameters
tokenbyte[]