Skip to main content

MissingAuthenticationError Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common

MissingAuthenticationError Class

Subtype of OidcError tagging a request to a protected endpoint that carried no authentication information at all. RFC 6750 §3.1: in that case the challenge SHOULD NOT include an error code or other error attributes — a bare WWW-Authenticate header simply tells the client that authentication is required. The error code still drives the internal 401 status-code mapping; only the challenge attributes are suppressed by the builder. Mirrors InvalidDPoPProofError as a typed marker for deterministic pattern matching.

public sealed record MissingAuthenticationError : Abblix.Oidc.Server.Common.OidcError, System.IEquatable<Abblix.Oidc.Server.Common.MissingAuthenticationError>

Inheritance System.ObjectOidcError → MissingAuthenticationError

Implements System.IEquatable<MissingAuthenticationError>

Constructors

MissingAuthenticationError(string) Constructor

Subtype of OidcError tagging a request to a protected endpoint that carried no authentication information at all. RFC 6750 §3.1: in that case the challenge SHOULD NOT include an error code or other error attributes — a bare WWW-Authenticate header simply tells the client that authentication is required. The error code still drives the internal 401 status-code mapping; only the challenge attributes are suppressed by the builder. Mirrors InvalidDPoPProofError as a typed marker for deterministic pattern matching.

public MissingAuthenticationError(string Description);

Parameters

Description System.String