light-mode-image
Learn
Functions

createOnlinePresentationSession

Create an online presentation session compliant with ISO 18013-7 and OpenID4VP.

Signature

function createOnlinePresentationSession(
  options: CreateOnlinePresentationSessionOptions
): Promise<Result<OnlinePresentationSession, CreateOnlinePresentationSessionError>>

Parameters

Returns

Promise<Result<OnlinePresentationSession, CreateOnlinePresentationSessionError>>

A promise that resolves to the created OnlinePresentationSession, from which you send the response or terminate the session.

Throws

InvalidParams if the provided arguments are missing or invalid.

MobileCredentialHolderErrorType.SdkNotInitialized if the SDK has not been initialized.

How would you rate this page?

On this page