Skip to main content

Subject

@mandaitor/sdk


@mandaitor/sdk / Subject

Interface: Subject

Defined in: @mandaitor/sdk/dist/types.d.ts:27

A party in a delegation — the principal granting authority or the delegate receiving it. Identified by a stable subject_id and optionally enriched with EUDI Wallet / eIDAS 2.0 verified attributes.

Properties

display_name?

optional display_name?: string

Defined in: @mandaitor/sdk/dist/types.d.ts:33

Optional display name


eidas_attributes?

optional eidas_attributes?: EidasAttributes

Defined in: @mandaitor/sdk/dist/types.d.ts:37

eIDAS 2.0 verified attributes from EUDI Wallet PID


eudi_pid?

optional eudi_pid?: string

Defined in: @mandaitor/sdk/dist/types.d.ts:35

EUDI Wallet PID (planned for eIDAS 2.0 integration)


subject_id

subject_id: string

Defined in: @mandaitor/sdk/dist/types.d.ts:31

Unique subject identifier (e.g. "oidc|auth0|user123", "eudi:DE/1234...", "agent:monco:validate-v2")


type

type: SubjectType

Defined in: @mandaitor/sdk/dist/types.d.ts:29

Subject type discriminator