Skip to content

AgentPrismAuthenticationMeta

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Reports which authentication layers are enabled.

public sealed record AgentPrismAuthenticationMeta : IEquatable<AgentPrismAuthenticationMeta>

objectAgentPrismAuthenticationMeta

IEquatable<AgentPrismAuthenticationMeta>

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 AgentPrismAuthenticationMeta()

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(AgentPrismAuthenticationMeta? other)

other AgentPrismAuthenticationMeta?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(AgentPrismAuthenticationMeta?, AgentPrismAuthenticationMeta?)

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

left AgentPrismAuthenticationMeta?

right AgentPrismAuthenticationMeta?

bool

operator !=(AgentPrismAuthenticationMeta?, AgentPrismAuthenticationMeta?)

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

left AgentPrismAuthenticationMeta?

right AgentPrismAuthenticationMeta?

bool