Skip to content
Tracon

TraconAuthenticationMeta

Namespace Tracon · Assembly Tracon.AspNetCore.dll

Reports which authentication layers are enabled.

public sealed record TraconAuthenticationMeta : IEquatable<TraconAuthenticationMeta>

objectTraconAuthenticationMeta

IEquatable<TraconAuthenticationMeta>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Carries only bool fields. The policy name is deliberately not returned: the UI cannot do anything with the name, and the name would be a configuration detail leaking from an unauthenticated endpoint.

public TraconAuthenticationMeta()

Whether access from outside loopback is allowed.

public required bool AllowRemoteAccess { get; init; }

bool

Whether an ASP.NET Core authorization policy is applied.

public required bool RequiresAuthorizationPolicy { get; init; }

bool

Whether an Authorization: Bearer header is expected.

public required bool RequiresBearerToken { get; init; }

bool

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(TraconAuthenticationMeta? other)

other TraconAuthenticationMeta?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(TraconAuthenticationMeta?, TraconAuthenticationMeta?)

Section titled “ operator ==(TraconAuthenticationMeta?, TraconAuthenticationMeta?)”
public static bool operator ==(TraconAuthenticationMeta? left, TraconAuthenticationMeta? right)

left TraconAuthenticationMeta?

right TraconAuthenticationMeta?

bool

operator !=(TraconAuthenticationMeta?, TraconAuthenticationMeta?)

Section titled “ operator !=(TraconAuthenticationMeta?, TraconAuthenticationMeta?)”
public static bool operator !=(TraconAuthenticationMeta? left, TraconAuthenticationMeta? right)

left TraconAuthenticationMeta?

right TraconAuthenticationMeta?

bool