Class CookieSnapshot

Namespace
Kuestenlogik.Bowire.Auth
Assembly
Kuestenlogik.Bowire.dll

Wire shape for the workbench's cookies-list endpoint.

public sealed record CookieSnapshot : IEquatable<CookieSnapshot>
Inheritance
CookieSnapshot
Implements
Inherited Members

Constructors

CookieSnapshot(string, string, string, string, DateTime, bool, bool)

Wire shape for the workbench's cookies-list endpoint.

public CookieSnapshot(string Domain, string Path, string Name, string Value, DateTime Expires, bool Secure, bool HttpOnly)

Parameters

Domain string
Path string
Name string
Value string
Expires DateTime
Secure bool
HttpOnly bool

Properties

Domain

public string Domain { get; init; }

Property Value

string

Expires

public DateTime Expires { get; init; }

Property Value

DateTime

HttpOnly

public bool HttpOnly { get; init; }

Property Value

bool

Name

public string Name { get; init; }

Property Value

string

Path

public string Path { get; init; }

Property Value

string

Secure

public bool Secure { get; init; }

Property Value

bool

Value

public string Value { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string, out string, out DateTime, out bool, out bool)

public void Deconstruct(out string Domain, out string Path, out string Name, out string Value, out DateTime Expires, out bool Secure, out bool HttpOnly)

Parameters

Domain string
Path string
Name string
Value string
Expires DateTime
Secure bool
HttpOnly bool

Equals(CookieSnapshot?)

public bool Equals(CookieSnapshot? other)

Parameters

other CookieSnapshot

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(CookieSnapshot?, CookieSnapshot?)

public static bool operator ==(CookieSnapshot? left, CookieSnapshot? right)

Parameters

left CookieSnapshot
right CookieSnapshot

Returns

bool

operator !=(CookieSnapshot?, CookieSnapshot?)

public static bool operator !=(CookieSnapshot? left, CookieSnapshot? right)

Parameters

left CookieSnapshot
right CookieSnapshot

Returns

bool