Class AuthFlowResult

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

The outcome of running an AuthFlowDefinition.

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

Constructors

AuthFlowResult(string, string, IReadOnlyDictionary<string, string>)

The outcome of running an AuthFlowDefinition.

public AuthFlowResult(string Token, string HeaderLine, IReadOnlyDictionary<string, string> Variables)

Parameters

Token string

The extracted token value.

HeaderLine string

A ready-to-inject Name: value auth header, e.g. Authorization: Bearer eyJ….

Variables IReadOnlyDictionary<string, string>

All variables captured across the flow (for diagnostics).

Properties

HeaderLine

A ready-to-inject Name: value auth header, e.g. Authorization: Bearer eyJ….

public string HeaderLine { get; init; }

Property Value

string

Token

The extracted token value.

public string Token { get; init; }

Property Value

string

Variables

All variables captured across the flow (for diagnostics).

public IReadOnlyDictionary<string, string> Variables { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Methods

Deconstruct(out string, out string, out IReadOnlyDictionary<string, string>)

public void Deconstruct(out string Token, out string HeaderLine, out IReadOnlyDictionary<string, string> Variables)

Parameters

Token string
HeaderLine string
Variables IReadOnlyDictionary<string, string>

Equals(AuthFlowResult?)

public bool Equals(AuthFlowResult? other)

Parameters

other AuthFlowResult

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

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

Parameters

left AuthFlowResult
right AuthFlowResult

Returns

bool

operator !=(AuthFlowResult?, AuthFlowResult?)

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

Parameters

left AuthFlowResult
right AuthFlowResult

Returns

bool