Package-level declarations

Types

Link copied to clipboard
data class MdocProximityQrSettings(val availableConnectionMethods: List<MdocConnectionMethod>, val createTransportOptions: MdocTransportOptions)

Settings to use when doing presentment with QR engagement according to ISO/IEC 18013-5:2021.

Link copied to clipboard

Base class for activity used for credential presentments using URI schemes.

Functions

Link copied to clipboard
fun Consent(modifier: Modifier = Modifier, requester: Requester, trustMetadata: TrustMetadata?, credentialPresentmentData: CredentialPresentmentData, preselectedDocuments: List<Document>, imageLoader: ImageLoader?, onDocumentsInFocus: (documents: List<Document>) -> Unit, onConfirm: (selection: CredentialPresentmentSelection) -> Unit, onCancel: () -> Unit = {})

A composable used for obtaining consent when presenting one or more credentials.

Link copied to clipboard
fun ConsentModalBottomSheet(sheetState: SheetState, requester: Requester, trustMetadata: TrustMetadata?, credentialPresentmentData: CredentialPresentmentData, preselectedDocuments: List<Document>, imageLoader: ImageLoader?, maxHeight: Dp? = null, onDocumentsInFocus: (documents: List<Document>) -> Unit, onConfirm: (selection: CredentialPresentmentSelection) -> Unit, onCancel: () -> Unit = {})

Bottom sheet used for obtaining consent when presenting one or more credentials.

Link copied to clipboard
actual fun MdocProximityQrPresentment(modifier: Modifier, source: PresentmentSource, promptModel: PromptModel, prepareSettings: (generateQrCode: (settings: MdocProximityQrSettings) -> Unit) -> Unit, showQrCode: (uri: String, reset: () -> Unit) -> Unit, showTransacting: (reset: () -> Unit) -> Unit, showCompleted: (error: Throwable?, reset: () -> Unit) -> Unit, preselectedDocuments: List<Document>, eDeviceKeyCurve: EcCurve, transportFactory: MdocTransportFactory, disablePlatformSpecificImplementation: Boolean)
expect fun MdocProximityQrPresentment(modifier: Modifier = Modifier, source: PresentmentSource, promptModel: PromptModel, prepareSettings: @Composable (generateQrCode: (settings: MdocProximityQrSettings) -> Unit) -> Unit, showQrCode: @Composable (uri: String, reset: () -> Unit) -> Unit, showTransacting: @Composable (reset: () -> Unit) -> Unit, showCompleted: @Composable (error: Throwable?, reset: () -> Unit) -> Unit, preselectedDocuments: List<Document> = emptyList(), eDeviceKeyCurve: EcCurve = EcCurve.P256, transportFactory: MdocTransportFactory = MdocTransportFactory.Default, disablePlatformSpecificImplementation: Boolean = false)

A composable for presentment with QR engagement according to ISO/IEC 18013-5:2021.

actual fun MdocProximityQrPresentment(modifier: ERROR CLASS: Symbol not found for Modifier, source: ERROR CLASS: Symbol not found for PresentmentSource, promptModel: ERROR CLASS: Symbol not found for PromptModel, prepareSettings: (generateQrCode: (settings: MdocProximityQrSettings) -> Unit) -> Unit, showQrCode: (uri: String, reset: () -> Unit) -> Unit, showTransacting: (reset: () -> Unit) -> Unit, showCompleted: (error: Throwable?, reset: () -> Unit) -> Unit, preselectedDocuments: List<ERROR CLASS: Symbol not found for Document>, eDeviceKeyCurve: ERROR CLASS: Symbol not found for EcCurve, transportFactory: ERROR CLASS: Symbol not found for MdocTransportFactory, disablePlatformSpecificImplementation: Boolean)
actual fun MdocProximityQrPresentment(modifier: Modifier, source: PresentmentSource, promptModel: PromptModel, prepareSettings: (generateQrCode: (settings: MdocProximityQrSettings) -> Unit) -> Unit, showQrCode: (uri: String, reset: () -> Unit) -> Unit, showTransacting: (reset: () -> Unit) -> Unit, showCompleted: (error: Throwable?, reset: () -> Unit) -> Unit, preselectedDocuments: List<Document>, eDeviceKeyCurve: EcCurve, transportFactory: MdocTransportFactory, disablePlatformSpecificImplementation: Boolean)