Skip to content

SubjectMemberNames Class

Names of the JSON members a Subject Identifier may carry. A member name is shared with whoever reads the identifier on the other side, so it is single-sourced here rather than repeated as a literal at each declaration. Each constant names its origin: the RFC 9493 formats (Section 3.2) or the OpenID Shared Signals Framework 1.0 extensions (Sections 3.3, 3.5).

C#
public static class SubjectMemberNames

Inheritance System.Object → SubjectMemberNames

Fields

SubjectMemberNames.Application Field

An application, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string Application = "application";

Field Value

System.String

SubjectMemberNames.AssertionId Field

The ID value of the SSF SAML Assertion ID Identifier Format (SSF 1.0 Section 3.5.2).

C#
public const string AssertionId = "assertion_id";

Field Value

System.String

SubjectMemberNames.Device Field

A device, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string Device = "device";

Field Value

System.String

SubjectMemberNames.Email Field

The email address of the Email Identifier Format (RFC 9493 Section 3.2.2).

C#
public const string Email = "email";

Field Value

System.String

SubjectMemberNames.Format Field

The Identifier Format name. REQUIRED on every Subject Identifier and reserved by RFC 9493 Section 3, which forbids an Identifier Format from declaring rules about it.

C#
public const string Format = "format";

Field Value

System.String

SubjectMemberNames.Group Field

A group, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string Group = "group";

Field Value

System.String

SubjectMemberNames.Id Field

The identifier string of the Opaque Identifier Format (RFC 9493 Section 3.2.4).

C#
public const string Id = "id";

Field Value

System.String

SubjectMemberNames.Identifiers Field

The array of nested Subject Identifiers of the Aliases Identifier Format (RFC 9493 Section 3.2.8).

C#
public const string Identifiers = "identifiers";

Field Value

System.String

SubjectMemberNames.IpAddresses Field

The address array of the SSF IP Addresses Identifier Format (SSF 1.0 Section 3.5.3).

C#
public const string IpAddresses = "ip-addresses";

Field Value

System.String

SubjectMemberNames.Issuer Field

The issuer half of the Issuer and Subject Identifier Format (RFC 9493 Section 3.2.3).

C#
public const string Issuer = "iss";

Field Value

System.String

SubjectMemberNames.JwtId Field

The "jti" claim of the JWT the SSF JWT ID Identifier Format names (SSF 1.0 Section 3.5.1).

C#
public const string JwtId = "jti";

Field Value

System.String

SubjectMemberNames.OrgUnit Field

An organizational unit, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string OrgUnit = "org_unit";

Field Value

System.String

SubjectMemberNames.PhoneNumber Field

The telephone number of the Phone Number Identifier Format (RFC 9493 Section 3.2.5).

C#
public const string PhoneNumber = "phone_number";

Field Value

System.String

SubjectMemberNames.SamlIssuer Field

The Issuer value of the SSF SAML Assertion ID Identifier Format (SSF 1.0 Section 3.5.2) - the full word, unlike the "iss" the JWT-derived formats use.

C#
public const string SamlIssuer = "issuer";

Field Value

System.String

SubjectMemberNames.Session Field

A session, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string Session = "session";

Field Value

System.String

SubjectMemberNames.Subject Field

The subject half of the Issuer and Subject Identifier Format (RFC 9493 Section 3.2.3).

C#
public const string Subject = "sub";

Field Value

System.String

SubjectMemberNames.Tenant Field

A tenant, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string Tenant = "tenant";

Field Value

System.String

SubjectMemberNames.Uri Field

The "acct" URI of the Account Identifier Format, and the URI of the URI Identifier Format (RFC 9493 Sections 3.2.1 and 3.2.7). One name serving two formats is what the specification defines; the formats are told apart by Format, never by their members.

C#
public const string Uri = "uri";

Field Value

System.String

SubjectMemberNames.Url Field

The DID URL of the Decentralized Identifier Format (RFC 9493 Section 3.2.6).

C#
public const string Url = "url";

Field Value

System.String

SubjectMemberNames.User Field

A user, within an SSF Complex Subject (SSF 1.0 Section 3.3).

C#
public const string User = "user";

Field Value

System.String