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
TokenstringThe extracted token value.
HeaderLinestringA ready-to-inject
Name: valueauth header, e.g.Authorization: Bearer eyJ….VariablesIReadOnlyDictionary<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
Token
The extracted token value.
public string Token { get; init; }
Property Value
Variables
All variables captured across the flow (for diagnostics).
public IReadOnlyDictionary<string, string> Variables { get; init; }
Property Value
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
TokenstringHeaderLinestringVariablesIReadOnlyDictionary<string, string>
Equals(AuthFlowResult?)
public bool Equals(AuthFlowResult? other)
Parameters
otherAuthFlowResult
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 ==(AuthFlowResult?, AuthFlowResult?)
public static bool operator ==(AuthFlowResult? left, AuthFlowResult? right)
Parameters
leftAuthFlowResultrightAuthFlowResult
Returns
operator !=(AuthFlowResult?, AuthFlowResult?)
public static bool operator !=(AuthFlowResult? left, AuthFlowResult? right)
Parameters
leftAuthFlowResultrightAuthFlowResult