light-mode-image
Learn
Functions

terminateProximityPresentationSession

Terminate the session explicitly, send status code sessionTerminated to the holder, and close data transport.

Use this function as a fallback when a verifier does not close the session as expected, either once an ample timeout has passed after sendProximityPresentationResponse or from a control in your interface that lets the user terminate the session.

Signature

function terminateProximityPresentationSession(): Promise<void>

Returns

Promise<void>

How would you rate this page?

On this page