VerifyRequest
@mandaitor/sdk / VerifyRequest
Interface: VerifyRequest
Defined in: @mandaitor/sdk/dist/types.d.ts:251
Request body for a verification call: which delegate wants to perform which action on which resource, plus optional context for condition evaluation.
Properties
action
action:
string
Defined in: @mandaitor/sdk/dist/types.d.ts:265
Action being attempted
agent_id?
optionalagent_id?:string
Defined in: @mandaitor/sdk/dist/types.d.ts:263
Legacy alias for delegate_subject_id.
Deprecated
Use delegate_subject_id instead. Will be removed in v2.0.0.
context?
optionalcontext?:Record<string,unknown>
Defined in: @mandaitor/sdk/dist/types.d.ts:269
Additional context for condition evaluation
delegate_subject_id
delegate_subject_id:
string
Defined in: @mandaitor/sdk/dist/types.d.ts:258
Subject ID of the delegate to verify, e.g. "agent:example: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:267
Resource being accessed