.NET API
TraconAuthenticationMeta
Tracon.AspNetCore.dllReports which authentication layers are enabled.
public sealed record TraconAuthenticationMeta : IEquatable<TraconAuthenticationMeta>Inheritance
Section titled “Inheritance”object ← TraconAuthenticationMeta
Implements
Section titled “Implements”IEquatable<TraconAuthenticationMeta>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”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.
Constructors
Section titled “Constructors”TraconAuthenticationMeta()
Section titled “ TraconAuthenticationMeta()”public TraconAuthenticationMeta()Properties
Section titled “Properties”AllowRemoteAccess
Section titled “ AllowRemoteAccess”Whether access from outside loopback is allowed.
public required bool AllowRemoteAccess { get; init; }Property Value
Section titled “Property Value”RequiresAuthorizationPolicy
Section titled “ RequiresAuthorizationPolicy”Whether an ASP.NET Core authorization policy is applied.
public required bool RequiresAuthorizationPolicy { get; init; }Property Value
Section titled “Property Value”RequiresBearerToken
Section titled “ RequiresBearerToken”Whether an Authorization: Bearer header is expected.
public required bool RequiresBearerToken { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(TraconAuthenticationMeta?)
Section titled “ Equals(TraconAuthenticationMeta?)”public bool Equals(TraconAuthenticationMeta? other)Parameters
Section titled “Parameters”other TraconAuthenticationMeta?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(TraconAuthenticationMeta?, TraconAuthenticationMeta?)
Section titled “ operator ==(TraconAuthenticationMeta?, TraconAuthenticationMeta?)”public static bool operator ==(TraconAuthenticationMeta? left, TraconAuthenticationMeta? right)Parameters
Section titled “Parameters”left TraconAuthenticationMeta?
right TraconAuthenticationMeta?
Returns
Section titled “Returns”operator !=(TraconAuthenticationMeta?, TraconAuthenticationMeta?)
Section titled “ operator !=(TraconAuthenticationMeta?, TraconAuthenticationMeta?)”public static bool operator !=(TraconAuthenticationMeta? left, TraconAuthenticationMeta? right)Parameters
Section titled “Parameters”left TraconAuthenticationMeta?
right TraconAuthenticationMeta?