Skip to main content

MandateVerifierProps

@mandaitor/react


@mandaitor/react / MandateVerifierProps

Interface: MandateVerifierProps

Defined in: components/MandateVerifier.d.ts:4

Props for MandateVerifier: pre-filled action/resource, auto-verify and compact modes, PoM toggle, and a result callback.

Properties​

autoVerify?​

optional autoVerify?: boolean

Defined in: components/MandateVerifier.d.ts:12

Auto-verify on mount (useful for inline status indicators)


className?​

optional className?: string

Defined in: components/MandateVerifier.d.ts:19


compact?​

optional compact?: boolean

Defined in: components/MandateVerifier.d.ts:14

Compact mode — shows only the result badge, no form


defaultAction?​

optional defaultAction?: string

Defined in: components/MandateVerifier.d.ts:8

Pre-fill the action to verify


defaultMandateId?​

optional defaultMandateId?: string

Defined in: components/MandateVerifier.d.ts:6

Pre-fill the mandate ID


defaultResource?​

optional defaultResource?: string

Defined in: components/MandateVerifier.d.ts:10

Pre-fill the resource URI


onResult?​

optional onResult?: (result) => void

Defined in: components/MandateVerifier.d.ts:18

Callback with verification result

Parameters​

result​

VerifyResponse

Returns​

void


requestPoM?​

optional requestPoM?: boolean

Defined in: components/MandateVerifier.d.ts:16

Request a Proof-of-Mandate VC alongside the verification