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
LevelJwtFlagLevelHow much it matters.
ClaimstringThe header/payload field it's about (e.g.
alg,exp), or a pseudo-name likesignature.MessagestringHuman-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
Level
How much it matters.
public JwtFlagLevel Level { get; init; }
Property Value
Message
Human-readable finding.
public string Message { get; init; }
Property Value
Methods
Deconstruct(out JwtFlagLevel, out string, out string)
public void Deconstruct(out JwtFlagLevel Level, out string Claim, out string Message)
Parameters
LevelJwtFlagLevelClaimstringMessagestring
Equals(JwtFlag?)
public bool Equals(JwtFlag? other)
Parameters
otherJwtFlag
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(JwtFlag?, JwtFlag?)
public static bool operator ==(JwtFlag? left, JwtFlag? right)
Parameters
Returns
operator !=(JwtFlag?, JwtFlag?)
public static bool operator !=(JwtFlag? left, JwtFlag? right)