light-mode-image
Learn
Functions

requestMobileCredentials

Request credentials from the holder's wallet app over a remote app-to-app flow.

Behavior differs between platforms, but the core purpose is the same: start a remote verification flow against the wallet app on the holder's device.

Signature

function requestMobileCredentials(
  options: RequestMobileCredentialsOptions
): Promise<Result<OnlinePresentationSessionResult, RequestMobileCredentialsError>>

Parameters

Returns

Promise<Result<OnlinePresentationSessionResult, RequestMobileCredentialsError>>

A promise that resolves to an OnlinePresentationSessionResult. Narrow on its isSuccess before reading the response, and check verificationResult on each returned credential.

How would you rate this page?

On this page