Skip to main content

VerifyRequest

@mandaitor/sdk


@mandaitor/sdk / VerifyRequest

Interface: VerifyRequest

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

Properties

action

action: string

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

Action being attempted


agent_id?

optional agent_id?: string

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

Legacy alias for delegate_subject_id.

Deprecated

Use delegate_subject_id instead. Will be removed in v2.0.0.


context?

optional context?: Record<string, unknown>

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

Additional context for condition evaluation


delegate_subject_id

delegate_subject_id: string

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

Subject ID of the delegate to verify, e.g. "agent:monco:validate-v2". This is the canonical field name. The server also accepts the legacy alias agent_id for backwards compatibility with demo integrations. If both are provided, delegate_subject_id takes precedence.


resource

resource: string

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

Resource being accessed