Class JwtFlag

Namespace
Kuestenlogik.Bowire.Security
Assembly
Kuestenlogik.Bowire.dll

One deterministic observation about a JWT's security posture.

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

Constructors

JwtFlag(JwtFlagLevel, string, string)

One deterministic observation about a JWT's security posture.

public JwtFlag(JwtFlagLevel Level, string Claim, string Message)

Parameters

Level JwtFlagLevel

How much it matters.

Claim string

The header/payload field it's about (e.g. alg, exp), or a pseudo-name like signature.

Message string

Human-readable finding.

Properties

Claim

The header/payload field it's about (e.g. alg, exp), or a pseudo-name like signature.

public string Claim { get; init; }

Property Value

string

Level

How much it matters.

public JwtFlagLevel Level { get; init; }

Property Value

JwtFlagLevel

Message

Human-readable finding.

public string Message { get; init; }

Property Value

string

Methods

Deconstruct(out JwtFlagLevel, out string, out string)

public void Deconstruct(out JwtFlagLevel Level, out string Claim, out string Message)

Parameters

Level JwtFlagLevel
Claim string
Message string

Equals(JwtFlag?)

public bool Equals(JwtFlag? other)

Parameters

other JwtFlag

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 ==(JwtFlag?, JwtFlag?)

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

Parameters

left JwtFlag
right JwtFlag

Returns

bool

operator !=(JwtFlag?, JwtFlag?)

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

Parameters

left JwtFlag
right JwtFlag

Returns

bool