Skip to main content

MDocPresentationRequestInput

Input for creating an mDoc presentation request.

input MDocPresentationRequestInput {
callback: Callback
clientName: String!
docType: String!
identity: IdentityInput
identityId: ID
requestedClaims: [MDocClaimPathInput!]!
signing: MDocRequestSigningInput
}

Fields

MDocPresentationRequestInput.callback ● Callback input

Optional callback configuration for receiving presentation responses.

MDocPresentationRequestInput.clientName ● String! non-null scalar

A display name of the verifier. This name will be presented to the user.

MDocPresentationRequestInput.docType ● String! non-null scalar

The mDoc document type to request (e.g., "org.iso.18013.5.1.mDL" for mobile driver's license).

MDocPresentationRequestInput.identity ● IdentityInput input

The identity who will present (alternatively use the identityId property, if known).

MDocPresentationRequestInput.identityId ● ID scalar

The ID of the identity who will present (alternatively use the identity property).

MDocPresentationRequestInput.requestedClaims ● [MDocClaimPathInput!]! non-null input

The claims to request from the mDoc credential. Each claim is specified as a path array (e.g., ["org.iso.18013.5.1", "family_name"]).

MDocPresentationRequestInput.signing ● MDocRequestSigningInput input

Optional signing configuration for the request. If provided, the request will be signed using a generated X.509 certificate and include the expected_origins for security validation. If not provided, the request will be unsigned.

Member Of

createMDocPresentationRequest mutation