UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

37 lines (35 loc) 1.29 kB
"use strict"; /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ /** * The different dispatch channels (dispatchers in nevisFIDO terminology) that can be used to transmit * the out-of-band operation: the out-of-band operation reaches the application either through a QR * code, an FCM push notification or a link. * * See the nevisFIDO {@link https://docs.nevis.net/nevisfido/reference-guide/dispatchers/dispatcher-introduction | Dispatchers for Mobile Authentication} * section for details. * * @group Common Objects */ export let DispatchChannel = /*#__PURE__*/function (DispatchChannel) { /** * A link (Universal Link, App Links, etc.) was used for the out-of-band operation. */ DispatchChannel["link"] = "link"; /** * The Firebase Cloud Messaging (that is, a push notification) was used for the * out-of-band operation. */ DispatchChannel["pushNotification"] = "firebase-cloud-messaging"; /** * The QR code dispatcher was used for the out-of-band operation. */ DispatchChannel["qrCode"] = "png-qr-code"; /** * A QR code containing a link was used for the out-of-band operation. */ DispatchChannel["linkPngQrCode"] = "link-png-qr-code"; return DispatchChannel; }({}); //# sourceMappingURL=DispatchChannel.js.map