ProximityPresentationSession

Represents a session with a mobile credential verifier using device retrieval as per ISO 18013-5.

Throws

If the provided authentication option is not supported.

Properties

Link copied to clipboard
val deviceEngagement: String

Base64 encoded deviceEngagement string

Functions

Link copied to clipboard
suspend fun sendResponse(credentialIds: List<String>, activity: Activity, terminateSession: Boolean = false)

Sends a credential presentation response to the verifier.

Link copied to clipboard
suspend fun terminateSession(sessionStatus: SessionStatus = SessionStatus.SessionTermination)

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