Table of Contents

Class Ticket

Namespace
The.Security
Assembly
Instagile.dll
[MessagePackObject(false)]
public sealed class Ticket
Inheritance
Ticket
Inherited Members

Constructors

Ticket(Identity, byte[]?, string, string)

public Ticket(Identity subject, byte[]? token, string appVersion, string environmentName)

Parameters

subject Identity
token byte[]
appVersion string
environmentName string

Fields

AppVersion

[Key(2)]
public readonly string AppVersion

Field Value

string

EnvironmentName

[Key(3)]
public readonly string EnvironmentName

Field Value

string

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

Identity

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

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.