Functions
terminateProximityPresentationSession
Terminate the session explicitly, send status code sessionTerminated to the holder, and close data transport.
Closing the session is the verifier's responsibility. Holders are advised not to terminate when they send their response, because only the verifier knows when it has finished processing the response and whether it wants to send a follow-up request. Call this once you are done with the session.
Signature
function terminateProximityPresentationSession(): Promise<Result<void, TerminateProximityPresentationSessionError>>Returns
Promise<Result<void, TerminateProximityPresentationSessionError>>
A Result containing void on success, or a TerminateProximityPresentationSessionError on failure.
How would you rate this page?