PhoneNumberSubject Class
Identifies a subject by a telephone number (RFC 9493 Section 3.2.5).
public sealed class PhoneNumberSubject : Abblix.SecurityEvents.Subjects.SubjectIdentifierInheritance System.Object → SubjectIdentifier → PhoneNumberSubject
Constructors
PhoneNumberSubject(string) Constructor
Identifies a subject by a telephone number (RFC 9493 Section 3.2.5).
public PhoneNumberSubject(string phoneNumber);Parameters
phoneNumber System.String
The subject's full telephone number including its international dialling prefix, formatted according to E.164. REQUIRED, and must be neither null nor empty.
Properties
PhoneNumberSubject.PhoneNumber Property
The telephone number, as received.
public string PhoneNumber { get; }Property Value
Remarks
E.164 form is what RFC 9493 Section 3.2.5 requires of the sender, so this library neither reformats an incoming value nor rejects one that departs from E.164: a receiver that discarded such an event would lose a signal it could still act on, and a receiver that rewrote it would be guessing at the sender's intent. Compare through PhoneNumberCanonicalization when values from different senders must meet.