Skip to content

OpaqueSubject Class

Identifies a subject by a string that asserts nothing beyond being its identifier, such as a UUID or a surrogate key for a database record (RFC 9493 Section 3.2.4).

C#
public sealed class OpaqueSubject : Abblix.SecurityEvents.Subjects.SubjectIdentifier

Inheritance System.ObjectSubjectIdentifier → OpaqueSubject

Constructors

OpaqueSubject(string) Constructor

Identifies a subject by a string that asserts nothing beyond being its identifier, such as a UUID or a surrogate key for a database record (RFC 9493 Section 3.2.4).

C#
public OpaqueSubject(string id);

Parameters

id System.String

The opaque identifier of the subject. REQUIRED, and must be neither null nor empty.

Properties

OpaqueSubject.Id Property

The opaque identifier. It carries no semantics, so it is compared as an exact string and never interpreted, normalised or parsed.

C#
public string Id { get; }

Property Value

System.String