Skip to content

AddSubjectRequest Class

The body of a receiver's request to add a subject to an Event Stream (SSF 1.0 Section 8.1.3.2). Success is an empty 200 - and deliberately proves nothing: a transmitter may silently ignore the addition, for example when the subject opted out of having events sent to this receiver, precisely so the response cannot be used to probe who is known to the transmitter (SSF 1.0 Sections 8.1.3.2, 9.1).

C#
public sealed record AddSubjectRequest : System.IEquatable<Abblix.SharedSignals.Model.AddSubjectRequest>

Inheritance System.Object → AddSubjectRequest

Implements System.IEquatable<AddSubjectRequest>

Properties

AddSubjectRequest.StreamId Property

REQUIRED. The stream the subject is being added to (SSF 1.0 Section 8.1.3.2).

C#
public string StreamId { get; init; }

Property Value

System.String

AddSubjectRequest.Subject Property

REQUIRED. The subject being added, in any RFC 9493 Identifier Format the transmitter understands (SSF 1.0 Section 8.1.3.2).

C#
public Abblix.SecurityEvents.Subjects.SubjectIdentifier Subject { get; init; }

Property Value

Abblix.SecurityEvents.Subjects.SubjectIdentifier

AddSubjectRequest.Verified Property

OPTIONAL. Whether the receiver has verified the subject claim; when omitted the transmitter should assume it has been (SSF 1.0 Section 8.1.3.2), so only an explicit "not verified" is worth sending.

C#
public System.Nullable<bool> Verified { get; init; }

Property Value

System.Nullable<System.Boolean>