@sudoplatform/sudo-secure-communications 5.1.2 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/cjs/private/data/common/apiClient.js +20 -34
  2. package/cjs/private/data/common/apiClient.js.map +1 -1
  3. package/cjs/private/data/common/transformer/errorTransformer.js +5 -3
  4. package/cjs/private/data/common/transformer/errorTransformer.js.map +1 -1
  5. package/cjs/private/data/session/sessionManager.js +2 -2
  6. package/cjs/private/data/session/sessionManager.js.map +1 -1
  7. package/cjs/public/errors.js +9 -3
  8. package/cjs/public/errors.js.map +1 -1
  9. package/docs/assets/hierarchy.js +1 -1
  10. package/docs/assets/main.js +5 -5
  11. package/docs/assets/navigation.js +1 -1
  12. package/docs/assets/search.js +1 -1
  13. package/docs/assets/style.css +248 -226
  14. package/docs/classes/AliasNotAvailableError.html +12 -12
  15. package/docs/classes/ChannelId.html +7 -7
  16. package/docs/classes/ChannelNameNotAvailableError.html +12 -12
  17. package/docs/classes/ChannelNotFoundError.html +12 -12
  18. package/docs/classes/ChannelPermissions.html +21 -21
  19. package/docs/classes/ChatId.html +7 -7
  20. package/docs/classes/DefaultChannelsModule.html +66 -66
  21. package/docs/classes/DefaultDirectChatsModule.html +23 -23
  22. package/docs/classes/DefaultGroupsModule.html +44 -44
  23. package/docs/classes/DefaultHandlesModule.html +13 -13
  24. package/docs/classes/DefaultMediaModule.html +6 -6
  25. package/docs/classes/DefaultMessagingModule.html +51 -51
  26. package/docs/classes/DefaultNotificationsModule.html +17 -17
  27. package/docs/classes/DefaultSecureCommsClient.html +28 -28
  28. package/docs/classes/DefaultSecurityModule.html +36 -36
  29. package/docs/classes/DefaultStorageModule.html +11 -11
  30. package/docs/classes/DirectChatExistsError.html +12 -12
  31. package/docs/classes/DirectChatMembershipError.html +12 -12
  32. package/docs/classes/DirectChatPermissions.html +7 -7
  33. package/docs/classes/GroupId.html +7 -7
  34. package/docs/classes/GroupPermissions.html +21 -21
  35. package/docs/classes/HandleId.html +5 -5
  36. package/docs/classes/HandleNotAvailableError.html +12 -12
  37. package/docs/classes/HandleNotFoundError.html +12 -12
  38. package/docs/classes/IndexedDBStorageProviderFactory.html +3 -3
  39. package/docs/classes/InternalError.html +12 -12
  40. package/docs/classes/InvalidArgumentError.html +12 -12
  41. package/docs/classes/InvalidChannelAliasError.html +12 -12
  42. package/docs/classes/InvalidChannelStateError.html +12 -12
  43. package/docs/classes/InvalidHandleIdError.html +33 -0
  44. package/docs/classes/InvalidHandleNameError.html +33 -0
  45. package/docs/classes/NotAllowedError.html +12 -12
  46. package/docs/classes/PermissionDeniedError.html +12 -12
  47. package/docs/classes/RoomNotFoundError.html +12 -12
  48. package/docs/classes/S3DownloadError.html +13 -13
  49. package/docs/classes/S3UploadError.html +13 -13
  50. package/docs/classes/SecureCommsError.html +12 -12
  51. package/docs/classes/SecureCommsServiceConfigNotFoundError.html +12 -12
  52. package/docs/classes/UnacceptableWordsError.html +12 -12
  53. package/docs/classes/UnauthorizedError.html +12 -12
  54. package/docs/enums/BackupState.html +6 -6
  55. package/docs/enums/ChannelJoinRule.html +5 -5
  56. package/docs/enums/ChannelRole.html +6 -6
  57. package/docs/enums/ChannelSortDirection.html +4 -4
  58. package/docs/enums/ChannelSortField.html +4 -4
  59. package/docs/enums/DirectChatRole.html +4 -4
  60. package/docs/enums/GroupRole.html +5 -5
  61. package/docs/enums/MembershipState.html +7 -7
  62. package/docs/enums/MessageNotificationLevel.html +4 -4
  63. package/docs/enums/MessageState.html +5 -5
  64. package/docs/enums/NotificationInfoType.html +3 -3
  65. package/docs/enums/PollType.html +4 -4
  66. package/docs/enums/PublicChannelJoinRule.html +4 -4
  67. package/docs/hierarchy.html +1 -1
  68. package/docs/index.html +5 -5
  69. package/docs/interfaces/AcceptChannelInvitationInput.html +6 -6
  70. package/docs/interfaces/AcceptGroupInvitationInput.html +6 -6
  71. package/docs/interfaces/AcceptInvitationInput.html +6 -6
  72. package/docs/interfaces/AcceptInvitationRequestInput.html +8 -8
  73. package/docs/interfaces/AcceptVerificationRequestInput.html +8 -8
  74. package/docs/interfaces/ApproveVerificationInput.html +4 -4
  75. package/docs/interfaces/Audio.html +13 -13
  76. package/docs/interfaces/AudioMedia.html +7 -7
  77. package/docs/interfaces/AvatarInput.html +8 -8
  78. package/docs/interfaces/BanChannelHandleInput.html +9 -9
  79. package/docs/interfaces/BanGroupHandleInput.html +10 -10
  80. package/docs/interfaces/BaseMessageContent.html +10 -10
  81. package/docs/interfaces/BlockHandleInput.html +6 -6
  82. package/docs/interfaces/CancelVerificationInput.html +4 -4
  83. package/docs/interfaces/Channel.html +24 -24
  84. package/docs/interfaces/ChannelInvitationRequest.html +10 -10
  85. package/docs/interfaces/ChannelInvite.html +5 -5
  86. package/docs/interfaces/ChannelMember.html +8 -8
  87. package/docs/interfaces/ChannelPermissionsInput.html +10 -10
  88. package/docs/interfaces/ChannelSortOrder.html +6 -6
  89. package/docs/interfaces/ChannelsModule.html +65 -65
  90. package/docs/interfaces/ChatMention.html +4 -4
  91. package/docs/interfaces/ChatNotificationRules.html +2 -2
  92. package/docs/interfaces/ChatSummary.html +12 -12
  93. package/docs/interfaces/ClearRecipientChatRulesInput.html +6 -6
  94. package/docs/interfaces/CreateBackupInput.html +4 -4
  95. package/docs/interfaces/CreateChannelInput.html +20 -20
  96. package/docs/interfaces/CreateChatInput.html +6 -6
  97. package/docs/interfaces/CreateGroupInput.html +12 -12
  98. package/docs/interfaces/CreatePollInput.html +14 -14
  99. package/docs/interfaces/DeclineChannelInvitationInput.html +6 -6
  100. package/docs/interfaces/DeclineGroupInvitationInput.html +6 -6
  101. package/docs/interfaces/DeclineInvitationInput.html +6 -6
  102. package/docs/interfaces/DeclineInvitationRequestInput.html +10 -10
  103. package/docs/interfaces/DeclineVerificationInput.html +4 -4
  104. package/docs/interfaces/DeleteChannelInput.html +5 -5
  105. package/docs/interfaces/DeleteGroupInput.html +6 -6
  106. package/docs/interfaces/DeleteMessageInput.html +10 -10
  107. package/docs/interfaces/DeleteOwnRedactReason.html +6 -6
  108. package/docs/interfaces/DirectChat.html +6 -6
  109. package/docs/interfaces/DirectChatInvitation.html +6 -6
  110. package/docs/interfaces/DirectChatInvite.html +5 -5
  111. package/docs/interfaces/DirectChatsModule.html +22 -22
  112. package/docs/interfaces/DownloadMediaFileInput.html +10 -10
  113. package/docs/interfaces/EditMessageInput.html +10 -10
  114. package/docs/interfaces/EditPollInput.html +16 -16
  115. package/docs/interfaces/EditReactionRedactReason.html +4 -4
  116. package/docs/interfaces/Emote.html +9 -9
  117. package/docs/interfaces/EncryptedMessage.html +7 -7
  118. package/docs/interfaces/EndPollInput.html +8 -8
  119. package/docs/interfaces/EventListenerContent.html +8 -8
  120. package/docs/interfaces/EventListenerReaction.html +10 -10
  121. package/docs/interfaces/EventNotificationRules.html +2 -2
  122. package/docs/interfaces/File.html +13 -13
  123. package/docs/interfaces/FileEncryptionInfo.html +10 -10
  124. package/docs/interfaces/FileMedia.html +5 -5
  125. package/docs/interfaces/GetBackupStateInput.html +4 -4
  126. package/docs/interfaces/GetChannelInput.html +6 -6
  127. package/docs/interfaces/GetChannelMembersInput.html +6 -6
  128. package/docs/interfaces/GetChannelMembershipInput.html +6 -6
  129. package/docs/interfaces/GetChannelsInput.html +6 -6
  130. package/docs/interfaces/GetChatSummariesInput.html +6 -6
  131. package/docs/interfaces/GetDecodedInfoInput.html +8 -8
  132. package/docs/interfaces/GetGroupInput.html +6 -6
  133. package/docs/interfaces/GetGroupMembersInput.html +6 -6
  134. package/docs/interfaces/GetGroupsInput.html +6 -6
  135. package/docs/interfaces/GetMessageInput.html +8 -8
  136. package/docs/interfaces/GetMessagesInput.html +10 -10
  137. package/docs/interfaces/GetPinnedMessagesInput.html +6 -6
  138. package/docs/interfaces/GetPollResponsesInput.html +8 -8
  139. package/docs/interfaces/GetSettingsInput.html +4 -4
  140. package/docs/interfaces/Group.html +14 -14
  141. package/docs/interfaces/GroupInvite.html +5 -5
  142. package/docs/interfaces/GroupMember.html +8 -8
  143. package/docs/interfaces/GroupsModule.html +43 -43
  144. package/docs/interfaces/Handle.html +6 -6
  145. package/docs/interfaces/HandleMention.html +8 -8
  146. package/docs/interfaces/HandleStorage.html +6 -6
  147. package/docs/interfaces/HandlesModule.html +12 -12
  148. package/docs/interfaces/HashAlgorithmMap.html +4 -4
  149. package/docs/interfaces/Image.html +19 -19
  150. package/docs/interfaces/ImageMedia.html +9 -9
  151. package/docs/interfaces/Input.html +3 -3
  152. package/docs/interfaces/Invite.html +4 -4
  153. package/docs/interfaces/IsVerifiedInput.html +4 -4
  154. package/docs/interfaces/JoinChannelInput.html +6 -6
  155. package/docs/interfaces/KeyVerificationRequest.html +18 -18
  156. package/docs/interfaces/KickChannelHandleInput.html +10 -10
  157. package/docs/interfaces/KickGroupHandleInput.html +10 -10
  158. package/docs/interfaces/LeaveChannelInput.html +6 -6
  159. package/docs/interfaces/LeaveGroupInput.html +6 -6
  160. package/docs/interfaces/ListHandlesInput.html +6 -6
  161. package/docs/interfaces/ListReceivedInvitationRequestsInput.html +6 -6
  162. package/docs/interfaces/Location.html +11 -11
  163. package/docs/interfaces/MarkAsReadInput.html +6 -6
  164. package/docs/interfaces/MediaModule.html +5 -5
  165. package/docs/interfaces/Member.html +6 -6
  166. package/docs/interfaces/MembershipChange.html +14 -14
  167. package/docs/interfaces/Message.html +20 -20
  168. package/docs/interfaces/MessageNotification.html +5 -5
  169. package/docs/interfaces/MessageReaction.html +8 -8
  170. package/docs/interfaces/MessageReceipt.html +6 -6
  171. package/docs/interfaces/MessagingModule.html +50 -50
  172. package/docs/interfaces/ModerationRedactReason.html +10 -10
  173. package/docs/interfaces/Notice.html +9 -9
  174. package/docs/interfaces/NotificationInfo.html +4 -4
  175. package/docs/interfaces/NotificationSettings.html +4 -4
  176. package/docs/interfaces/NotificationsModule.html +16 -16
  177. package/docs/interfaces/OnSessionVerificationChangedInput.html +6 -6
  178. package/docs/interfaces/OnVerificationRequestReceivedInput.html +6 -6
  179. package/docs/interfaces/OwnedHandle.html +10 -10
  180. package/docs/interfaces/Pagination.html +6 -6
  181. package/docs/interfaces/PinMessageInput.html +8 -8
  182. package/docs/interfaces/PlatformNotificationDataTemplate.html +6 -6
  183. package/docs/interfaces/Poll.html +15 -15
  184. package/docs/interfaces/PollResponse.html +11 -11
  185. package/docs/interfaces/PollResponses.html +8 -8
  186. package/docs/interfaces/ProvisionHandleInput.html +8 -8
  187. package/docs/interfaces/PublicChannelSearchInput.html +18 -18
  188. package/docs/interfaces/PublicChannelSearchResult.html +20 -20
  189. package/docs/interfaces/Recipient.html +4 -4
  190. package/docs/interfaces/RecoverInput.html +6 -6
  191. package/docs/interfaces/RedactedMessage.html +12 -12
  192. package/docs/interfaces/RegisterMessageListenerInput.html +10 -10
  193. package/docs/interfaces/RequestVerificationInput.html +4 -4
  194. package/docs/interfaces/ResetBackupKeyInput.html +4 -4
  195. package/docs/interfaces/RotateBackupKeyInput.html +4 -4
  196. package/docs/interfaces/SearchMessagesInput.html +10 -10
  197. package/docs/interfaces/SearchMessagesItem.html +18 -18
  198. package/docs/interfaces/SecureCommsClient.html +28 -28
  199. package/docs/interfaces/SecureCommsSession.html +18 -18
  200. package/docs/interfaces/SecureCommsStore.html +8 -8
  201. package/docs/interfaces/SecurityModule.html +35 -35
  202. package/docs/interfaces/SelfDestructInfo.html +8 -8
  203. package/docs/interfaces/SelfDestructedMessage.html +10 -10
  204. package/docs/interfaces/SendChannelInvitationsInput.html +8 -8
  205. package/docs/interfaces/SendGroupInvitationsInput.html +8 -8
  206. package/docs/interfaces/SendInvitationRequestInput.html +8 -8
  207. package/docs/interfaces/SendMediaInput.html +26 -26
  208. package/docs/interfaces/SendMessageInput.html +18 -18
  209. package/docs/interfaces/SendPollResponseInput.html +10 -10
  210. package/docs/interfaces/SendTypingNotificationInput.html +8 -8
  211. package/docs/interfaces/SessionAPIs.html +5 -5
  212. package/docs/interfaces/SetDefaultChatRulesInput.html +6 -6
  213. package/docs/interfaces/SetDefaultEventRulesInput.html +6 -6
  214. package/docs/interfaces/SetRecipientChatRulesInput.html +8 -8
  215. package/docs/interfaces/StartVerificationInput.html +4 -4
  216. package/docs/interfaces/StorageModule.html +10 -10
  217. package/docs/interfaces/StorageProvider.html +32 -32
  218. package/docs/interfaces/StorageProviderFactory.html +2 -2
  219. package/docs/interfaces/Text.html +9 -9
  220. package/docs/interfaces/ThumbnailInfo.html +12 -12
  221. package/docs/interfaces/ToggleReactionInput.html +10 -10
  222. package/docs/interfaces/UnbanChannelHandleInput.html +9 -9
  223. package/docs/interfaces/UnbanGroupHandleInput.html +10 -10
  224. package/docs/interfaces/UnblockHandleInput.html +6 -6
  225. package/docs/interfaces/UnknownRedactReason.html +4 -4
  226. package/docs/interfaces/UnpinMessageInput.html +8 -8
  227. package/docs/interfaces/UnreadCount.html +6 -6
  228. package/docs/interfaces/UnregisterMessageListenerInput.html +8 -8
  229. package/docs/interfaces/UpdateChannelInput.html +20 -20
  230. package/docs/interfaces/UpdateChannelMemberRoleInput.html +10 -10
  231. package/docs/interfaces/UpdateGroupInput.html +12 -12
  232. package/docs/interfaces/UpdateGroupMemberRoleInput.html +10 -10
  233. package/docs/interfaces/UpdateHandleInput.html +6 -6
  234. package/docs/interfaces/Video.html +19 -19
  235. package/docs/interfaces/VideoMedia.html +11 -11
  236. package/docs/interfaces/WithdrawChannelInvitationInput.html +8 -8
  237. package/docs/interfaces/WithdrawGroupInvitationInput.html +8 -8
  238. package/docs/interfaces/WithdrawInvitationRequestInput.html +6 -6
  239. package/docs/modules.html +1 -1
  240. package/docs/types/MediaInfo.html +2 -2
  241. package/docs/types/MessageContent.html +2 -2
  242. package/docs/types/MessageMention.html +2 -2
  243. package/docs/types/RedactReason.html +2 -2
  244. package/docs/types/SecureCommsClientOptions.html +9 -5
  245. package/lib/private/data/common/apiClient.js +21 -35
  246. package/lib/private/data/common/apiClient.js.map +1 -1
  247. package/lib/private/data/common/transformer/errorTransformer.js +6 -4
  248. package/lib/private/data/common/transformer/errorTransformer.js.map +1 -1
  249. package/lib/private/data/session/sessionManager.js +2 -2
  250. package/lib/private/data/session/sessionManager.js.map +1 -1
  251. package/lib/public/errors.js +6 -1
  252. package/lib/public/errors.js.map +1 -1
  253. package/package.json +28 -31
  254. package/types/private/data/common/apiClient.d.ts +1 -0
  255. package/types/private/data/common/transformer/errorTransformer.d.ts +6 -2
  256. package/types/public/errors.d.ts +4 -1
  257. package/docs/classes/InvalidHandleError.html +0 -33
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DefaultSecurityModule | @sudoplatform/sudo-secure-communications</title><meta name="description" content="Documentation for @sudoplatform/sudo-secure-communications"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@sudoplatform/sudo-secure-communications</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@sudoplatform/sudo-secure-communications</a></li><li><a href="DefaultSecurityModule.html">DefaultSecurityModule</a></li></ul><h1>Class DefaultSecurityModule</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Key backup, restore and interactive device verification services.</p>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DefaultSecurityModule | @sudoplatform/sudo-secure-communications</title><meta name="description" content="Documentation for @sudoplatform/sudo-secure-communications"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sudoplatform/sudo-secure-communications</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">DefaultSecurityModule</a></li></ul><h1>Class DefaultSecurityModule</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Key backup, restore and interactive device verification services.</p>
2
2
  <p>In the secure communications offering, each device stores their own keys.
3
3
  To seamlessly continue conversations across multiple devices,
4
4
  the keys must be replicated across those devices.
@@ -19,63 +19,63 @@ the same handle of two different devices, the unverified device becomes verified
19
19
  and will then gain access to session keys from their other devices.</p>
20
20
  </li>
21
21
  </ol>
22
- </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/SecurityModule.html" class="tsd-signature-type tsd-kind-interface">SecurityModule</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in src/public/modules/securityModule.ts:331</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="DefaultSecurityModule.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
23
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="DefaultSecurityModule.html#acceptverificationrequest" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>accept<wbr/>Verification<wbr/>Request</span></a>
24
- <a href="DefaultSecurityModule.html#approveverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>approve<wbr/>Verification</span></a>
25
- <a href="DefaultSecurityModule.html#cancelverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cancel<wbr/>Verification</span></a>
26
- <a href="DefaultSecurityModule.html#createbackup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Backup</span></a>
27
- <a href="DefaultSecurityModule.html#declineverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decline<wbr/>Verification</span></a>
28
- <a href="DefaultSecurityModule.html#getbackupstate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Backup<wbr/>State</span></a>
29
- <a href="DefaultSecurityModule.html#isverified" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Verified</span></a>
30
- <a href="DefaultSecurityModule.html#onsessionverificationchanged" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Session<wbr/>Verification<wbr/>Changed</span></a>
31
- <a href="DefaultSecurityModule.html#onverificationrequestreceived" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Verification<wbr/>Request<wbr/>Received</span></a>
32
- <a href="DefaultSecurityModule.html#recover" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>recover</span></a>
33
- <a href="DefaultSecurityModule.html#requestverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Verification</span></a>
34
- <a href="DefaultSecurityModule.html#resetbackupkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Backup<wbr/>Key</span></a>
35
- <a href="DefaultSecurityModule.html#rotatebackupkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rotate<wbr/>Backup<wbr/>Key</span></a>
36
- <a href="DefaultSecurityModule.html#startverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Verification</span></a>
37
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructordefaultsecuritymodule" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">DefaultSecurityModule</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sessionManager</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SessionManager</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="DefaultSecurityModule.html" class="tsd-signature-type tsd-kind-class">DefaultSecurityModule</a><a href="#constructordefaultsecuritymodule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">sessionManager</span>: <span class="tsd-signature-type">SessionManager</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DefaultSecurityModule.html" class="tsd-signature-type tsd-kind-class">DefaultSecurityModule</a></h4><aside class="tsd-sources"><ul><li>Defined in src/public/modules/securityModule.ts:334</li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="acceptverificationrequest" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>accept<wbr/>Verification<wbr/>Request</span><a href="#acceptverificationrequest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="acceptverificationrequest-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">acceptVerificationRequest</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/AcceptVerificationRequestInput.html" class="tsd-signature-type tsd-kind-interface">AcceptVerificationRequestInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#acceptverificationrequest-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Accept a verification request from another device.</p>
22
+ </div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/SecurityModule.html" class="tsd-signature-type tsd-kind-interface">SecurityModule</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in src/public/modules/securityModule.ts:331</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
23
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#acceptverificationrequest" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>accept<wbr/>Verification<wbr/>Request</span></a>
24
+ <a href="#approveverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>approve<wbr/>Verification</span></a>
25
+ <a href="#cancelverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cancel<wbr/>Verification</span></a>
26
+ <a href="#createbackup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Backup</span></a>
27
+ <a href="#declineverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decline<wbr/>Verification</span></a>
28
+ <a href="#getbackupstate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Backup<wbr/>State</span></a>
29
+ <a href="#isverified" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Verified</span></a>
30
+ <a href="#onsessionverificationchanged" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Session<wbr/>Verification<wbr/>Changed</span></a>
31
+ <a href="#onverificationrequestreceived" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Verification<wbr/>Request<wbr/>Received</span></a>
32
+ <a href="#recover" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>recover</span></a>
33
+ <a href="#requestverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Verification</span></a>
34
+ <a href="#resetbackupkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Backup<wbr/>Key</span></a>
35
+ <a href="#rotatebackupkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rotate<wbr/>Backup<wbr/>Key</span></a>
36
+ <a href="#startverification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Verification</span></a>
37
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructordefaultsecuritymodule"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">DefaultSecurityModule</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sessionManager</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SessionManager</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">DefaultSecurityModule</a><a href="#constructordefaultsecuritymodule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">sessionManager</span>: <span class="tsd-signature-type">SessionManager</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">DefaultSecurityModule</a></h4><aside class="tsd-sources"><ul><li>Defined in src/public/modules/securityModule.ts:334</li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="acceptverificationrequest"><span>accept<wbr/>Verification<wbr/>Request</span><a href="#acceptverificationrequest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="acceptverificationrequest-1"><span class="tsd-kind-call-signature">acceptVerificationRequest</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/AcceptVerificationRequestInput.html" class="tsd-signature-type tsd-kind-interface">AcceptVerificationRequestInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#acceptverificationrequest-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Accept a verification request from another device.</p>
38
38
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/AcceptVerificationRequestInput.html" class="tsd-signature-type tsd-kind-interface">AcceptVerificationRequestInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the accept verification request method</p>
39
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#acceptverificationrequest">acceptVerificationRequest</a></p><ul><li>Defined in src/public/modules/securityModule.ts:416</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="approveverification" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>approve<wbr/>Verification</span><a href="#approveverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="approveverification-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">approveVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ApproveVerificationInput.html" class="tsd-signature-type tsd-kind-interface">ApproveVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#approveverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Approve a verification request. Users must check the contents of the [InteractiveVerificationState.ReceivedVerificationData]
39
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#acceptverificationrequest">acceptVerificationRequest</a></p><ul><li>Defined in src/public/modules/securityModule.ts:416</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="approveverification"><span>approve<wbr/>Verification</span><a href="#approveverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="approveverification-1"><span class="tsd-kind-call-signature">approveVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ApproveVerificationInput.html" class="tsd-signature-type tsd-kind-interface">ApproveVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#approveverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Approve a verification request. Users must check the contents of the [InteractiveVerificationState.ReceivedVerificationData]
40
40
  to ensure the emojis match before approving.</p>
41
41
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/ApproveVerificationInput.html" class="tsd-signature-type tsd-kind-interface">ApproveVerificationInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the approve verification method</p>
42
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#approveverification">approveVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:432</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="cancelverification" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>cancel<wbr/>Verification</span><a href="#cancelverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="cancelverification-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">cancelVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/CancelVerificationInput.html" class="tsd-signature-type tsd-kind-interface">CancelVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#cancelverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Cancel the current verification at any time.</p>
42
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#approveverification">approveVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:432</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="cancelverification"><span>cancel<wbr/>Verification</span><a href="#cancelverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="cancelverification-1"><span class="tsd-kind-call-signature">cancelVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/CancelVerificationInput.html" class="tsd-signature-type tsd-kind-interface">CancelVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#cancelverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Cancel the current verification at any time.</p>
43
43
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/CancelVerificationInput.html" class="tsd-signature-type tsd-kind-interface">CancelVerificationInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the cancel verification method</p>
44
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#cancelverification">cancelVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:450</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="createbackup" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Backup</span><a href="#createbackup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="createbackup-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">createBackup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/CreateBackupInput.html" class="tsd-signature-type tsd-kind-interface">CreateBackupInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#createbackup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create a server-side, encrypted backup of client keys for the user.
44
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#cancelverification">cancelVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:450</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createbackup"><span>create<wbr/>Backup</span><a href="#createbackup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="createbackup-1"><span class="tsd-kind-call-signature">createBackup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/CreateBackupInput.html" class="tsd-signature-type tsd-kind-interface">CreateBackupInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#createbackup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create a server-side, encrypted backup of client keys for the user.
45
45
  After creation, keys are automatically uploaded to the backup so this
46
46
  only has to be called once.</p>
47
47
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/CreateBackupInput.html" class="tsd-signature-type tsd-kind-interface">CreateBackupInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the create backup method</p>
48
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>a backup key, to be used with the [recover] method to recover keys from the server backup.</p>
49
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#createbackup">createBackup</a></p><ul><li>Defined in src/public/modules/securityModule.ts:366</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="declineverification" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>decline<wbr/>Verification</span><a href="#declineverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="declineverification-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">declineVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/DeclineVerificationInput.html" class="tsd-signature-type tsd-kind-interface">DeclineVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#declineverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Decline a verification request.</p>
48
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>a backup key, to be used with the [recover] method to recover keys from the server backup.</p>
49
+ <aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#createbackup">createBackup</a></p><ul><li>Defined in src/public/modules/securityModule.ts:366</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="declineverification"><span>decline<wbr/>Verification</span><a href="#declineverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="declineverification-1"><span class="tsd-kind-call-signature">declineVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/DeclineVerificationInput.html" class="tsd-signature-type tsd-kind-interface">DeclineVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#declineverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Decline a verification request.</p>
50
50
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/DeclineVerificationInput.html" class="tsd-signature-type tsd-kind-interface">DeclineVerificationInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the decline verification method</p>
51
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#declineverification">declineVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:441</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getbackupstate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Backup<wbr/>State</span><a href="#getbackupstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getbackupstate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getBackupState</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/GetBackupStateInput.html" class="tsd-signature-type tsd-kind-interface">GetBackupStateInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../enums/BackupState.html" class="tsd-signature-type tsd-kind-enum">BackupState</a><span class="tsd-signature-symbol">&gt;</span><a href="#getbackupstate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the current state of the encrypted server backup.</p>
51
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#declineverification">declineVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:441</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getbackupstate"><span>get<wbr/>Backup<wbr/>State</span><a href="#getbackupstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getbackupstate-1"><span class="tsd-kind-call-signature">getBackupState</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/GetBackupStateInput.html" class="tsd-signature-type tsd-kind-interface">GetBackupStateInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../enums/BackupState.html" class="tsd-signature-type tsd-kind-enum">BackupState</a><span class="tsd-signature-symbol">&gt;</span><a href="#getbackupstate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the current state of the encrypted server backup.</p>
52
52
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/GetBackupStateInput.html" class="tsd-signature-type tsd-kind-interface">GetBackupStateInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the get backup state method</p>
53
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../enums/BackupState.html" class="tsd-signature-type tsd-kind-enum">BackupState</a><span class="tsd-signature-symbol">&gt;</span></h4><p>the current backup state</p>
54
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#getbackupstate">getBackupState</a></p><ul><li>Defined in src/public/modules/securityModule.ts:357</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="isverified" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Verified</span><a href="#isverified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="isverified-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">isVerified</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/IsVerifiedInput.html" class="tsd-signature-type tsd-kind-interface">IsVerifiedInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#isverified-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Convenience method to check if the current session is verified.</p>
53
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../enums/BackupState.html" class="tsd-signature-type tsd-kind-enum">BackupState</a><span class="tsd-signature-symbol">&gt;</span></h4><p>the current backup state</p>
54
+ <aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#getbackupstate">getBackupState</a></p><ul><li>Defined in src/public/modules/securityModule.ts:357</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isverified"><span>is<wbr/>Verified</span><a href="#isverified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="isverified-1"><span class="tsd-kind-call-signature">isVerified</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/IsVerifiedInput.html" class="tsd-signature-type tsd-kind-interface">IsVerifiedInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#isverified-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Convenience method to check if the current session is verified.</p>
55
55
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/IsVerifiedInput.html" class="tsd-signature-type tsd-kind-interface">IsVerifiedInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the isVerified method</p>
56
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><p>true if the current session is verified, false otherwise</p>
57
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#isverified">isVerified</a></p><ul><li>Defined in src/public/modules/securityModule.ts:338</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="onsessionverificationchanged" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>on<wbr/>Session<wbr/>Verification<wbr/>Changed</span><a href="#onsessionverificationchanged" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="onsessionverificationchanged-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">onSessionVerificationChanged</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OnSessionVerificationChangedInput.html" class="tsd-signature-type tsd-kind-interface">OnSessionVerificationChangedInput</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#onsessionverificationchanged-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get notified when the state of the session verification changes.</p>
56
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><p>true if the current session is verified, false otherwise</p>
57
+ <aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#isverified">isVerified</a></p><ul><li>Defined in src/public/modules/securityModule.ts:338</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onsessionverificationchanged"><span>on<wbr/>Session<wbr/>Verification<wbr/>Changed</span><a href="#onsessionverificationchanged" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="onsessionverificationchanged-1"><span class="tsd-kind-call-signature">onSessionVerificationChanged</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OnSessionVerificationChangedInput.html" class="tsd-signature-type tsd-kind-interface">OnSessionVerificationChangedInput</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#onsessionverificationchanged-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get notified when the state of the session verification changes.</p>
58
58
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/OnSessionVerificationChangedInput.html" class="tsd-signature-type tsd-kind-interface">OnSessionVerificationChangedInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the onSessionVerificationChanged method</p>
59
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#onsessionverificationchanged">onSessionVerificationChanged</a></p><ul><li>Defined in src/public/modules/securityModule.ts:345</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="onverificationrequestreceived" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>on<wbr/>Verification<wbr/>Request<wbr/>Received</span><a href="#onverificationrequestreceived" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="onverificationrequestreceived-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">onVerificationRequestReceived</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OnVerificationRequestReceivedInput.html" class="tsd-signature-type tsd-kind-interface">OnVerificationRequestReceivedInput</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#onverificationrequestreceived-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Register a callback to be notified when a verification request is received.</p>
59
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#onsessionverificationchanged">onSessionVerificationChanged</a></p><ul><li>Defined in src/public/modules/securityModule.ts:345</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onverificationrequestreceived"><span>on<wbr/>Verification<wbr/>Request<wbr/>Received</span><a href="#onverificationrequestreceived" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="onverificationrequestreceived-1"><span class="tsd-kind-call-signature">onVerificationRequestReceived</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OnVerificationRequestReceivedInput.html" class="tsd-signature-type tsd-kind-interface">OnVerificationRequestReceivedInput</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#onverificationrequestreceived-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Register a callback to be notified when a verification request is received.</p>
60
60
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/OnVerificationRequestReceivedInput.html" class="tsd-signature-type tsd-kind-interface">OnVerificationRequestReceivedInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the on verification request received method</p>
61
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#onverificationrequestreceived">onVerificationRequestReceived</a></p><ul><li>Defined in src/public/modules/securityModule.ts:396</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="recover" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>recover</span><a href="#recover" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="recover-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">recover</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RecoverInput.html" class="tsd-signature-type tsd-kind-interface">RecoverInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#recover-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Recover client keys from a server-side backup.</p>
61
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#onverificationrequestreceived">onVerificationRequestReceived</a></p><ul><li>Defined in src/public/modules/securityModule.ts:396</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="recover"><span>recover</span><a href="#recover" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="recover-1"><span class="tsd-kind-call-signature">recover</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RecoverInput.html" class="tsd-signature-type tsd-kind-interface">RecoverInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#recover-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Recover client keys from a server-side backup.</p>
62
62
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/RecoverInput.html" class="tsd-signature-type tsd-kind-interface">RecoverInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the recover method</p>
63
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#recover">recover</a></p><ul><li>Defined in src/public/modules/securityModule.ts:373</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="requestverification" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>request<wbr/>Verification</span><a href="#requestverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="requestverification-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">requestVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RequestVerificationInput.html" class="tsd-signature-type tsd-kind-interface">RequestVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#requestverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Begin an interactive verification flow by requesting verification to
63
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#recover">recover</a></p><ul><li>Defined in src/public/modules/securityModule.ts:373</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="requestverification"><span>request<wbr/>Verification</span><a href="#requestverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="requestverification-1"><span class="tsd-kind-call-signature">requestVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RequestVerificationInput.html" class="tsd-signature-type tsd-kind-interface">RequestVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#requestverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Begin an interactive verification flow by requesting verification to
64
64
  another verified, online device.</p>
65
65
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/RequestVerificationInput.html" class="tsd-signature-type tsd-kind-interface">RequestVerificationInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the request verification method</p>
66
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#requestverification">requestVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:407</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="resetbackupkey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Backup<wbr/>Key</span><a href="#resetbackupkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="resetbackupkey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">resetBackupKey</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ResetBackupKeyInput.html" class="tsd-signature-type tsd-kind-interface">ResetBackupKeyInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#resetbackupkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resets the backup. This replaces the server side backup with current keys known to
66
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#requestverification">requestVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:407</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="resetbackupkey"><span>reset<wbr/>Backup<wbr/>Key</span><a href="#resetbackupkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="resetbackupkey-1"><span class="tsd-kind-call-signature">resetBackupKey</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ResetBackupKeyInput.html" class="tsd-signature-type tsd-kind-interface">ResetBackupKeyInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#resetbackupkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resets the backup. This replaces the server side backup with current keys known to
67
67
  this device. This will result in data loss of previous messages encrypted with keys
68
68
  from the previous backup not known to this device. All other devices associated
69
69
  with this user will become unverified.</p>
70
70
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/ResetBackupKeyInput.html" class="tsd-signature-type tsd-kind-interface">ResetBackupKeyInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the reset backup method</p>
71
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>a new backup key, to be used with the [recover] method to recover
71
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>a new backup key, to be used with the [recover] method to recover
72
72
  keys from the server backup.</p>
73
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#resetbackupkey">resetBackupKey</a></p><ul><li>Defined in src/public/modules/securityModule.ts:387</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="rotatebackupkey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rotate<wbr/>Backup<wbr/>Key</span><a href="#rotatebackupkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="rotatebackupkey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">rotateBackupKey</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RotateBackupKeyInput.html" class="tsd-signature-type tsd-kind-interface">RotateBackupKeyInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#rotatebackupkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Rotate backup keys. The previous backup key is invalidated and replaced with a new one.
73
+ <aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#resetbackupkey">resetBackupKey</a></p><ul><li>Defined in src/public/modules/securityModule.ts:387</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rotatebackupkey"><span>rotate<wbr/>Backup<wbr/>Key</span><a href="#rotatebackupkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="rotatebackupkey-1"><span class="tsd-kind-call-signature">rotateBackupKey</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RotateBackupKeyInput.html" class="tsd-signature-type tsd-kind-interface">RotateBackupKeyInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#rotatebackupkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Rotate backup keys. The previous backup key is invalidated and replaced with a new one.
74
74
  Only verified sessions can execute this command.</p>
75
75
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/RotateBackupKeyInput.html" class="tsd-signature-type tsd-kind-interface">RotateBackupKeyInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the rotate backup key method</p>
76
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>a new backup key, to be used with the [recover] method to recover
76
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>a new backup key, to be used with the [recover] method to recover
77
77
  keys from the server backup.</p>
78
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#rotatebackupkey">rotateBackupKey</a></p><ul><li>Defined in src/public/modules/securityModule.ts:380</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="startverification" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>start<wbr/>Verification</span><a href="#startverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="startverification-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">startVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/StartVerificationInput.html" class="tsd-signature-type tsd-kind-interface">StartVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#startverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Start interactive verification. This can only occur after the other device
78
+ <aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#rotatebackupkey">rotateBackupKey</a></p><ul><li>Defined in src/public/modules/securityModule.ts:380</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="startverification"><span>start<wbr/>Verification</span><a href="#startverification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="startverification-1"><span class="tsd-kind-call-signature">startVerification</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/StartVerificationInput.html" class="tsd-signature-type tsd-kind-interface">StartVerificationInput</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#startverification-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Start interactive verification. This can only occur after the other device
79
79
  has accepted the verification request. Either device can start the verification.</p>
80
80
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/StartVerificationInput.html" class="tsd-signature-type tsd-kind-interface">StartVerificationInput</a></span><div class="tsd-comment tsd-typography"><p>the input for the start verification method</p>
81
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#startverification">startVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:425</li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#acceptverificationrequest" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>accept<wbr/>Verification<wbr/>Request</span></a><a href="#approveverification" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>approve<wbr/>Verification</span></a><a href="#cancelverification" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cancel<wbr/>Verification</span></a><a href="#createbackup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Backup</span></a><a href="#declineverification" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decline<wbr/>Verification</span></a><a href="#getbackupstate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Backup<wbr/>State</span></a><a href="#isverified" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Verified</span></a><a href="#onsessionverificationchanged" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Session<wbr/>Verification<wbr/>Changed</span></a><a href="#onverificationrequestreceived" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Verification<wbr/>Request<wbr/>Received</span></a><a href="#recover" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>recover</span></a><a href="#requestverification" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Verification</span></a><a href="#resetbackupkey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Backup<wbr/>Key</span></a><a href="#rotatebackupkey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rotate<wbr/>Backup<wbr/>Key</span></a><a href="#startverification" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Verification</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sudoplatform/sudo-secure-communications</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
81
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/SecurityModule.html">SecurityModule</a>.<a href="../interfaces/SecurityModule.html#startverification">startVerification</a></p><ul><li>Defined in src/public/modules/securityModule.ts:425</li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#acceptverificationrequest"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>accept<wbr/>Verification<wbr/>Request</span></a><a href="#approveverification"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>approve<wbr/>Verification</span></a><a href="#cancelverification"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cancel<wbr/>Verification</span></a><a href="#createbackup"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Backup</span></a><a href="#declineverification"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decline<wbr/>Verification</span></a><a href="#getbackupstate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Backup<wbr/>State</span></a><a href="#isverified"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Verified</span></a><a href="#onsessionverificationchanged"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Session<wbr/>Verification<wbr/>Changed</span></a><a href="#onverificationrequestreceived"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Verification<wbr/>Request<wbr/>Received</span></a><a href="#recover"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>recover</span></a><a href="#requestverification"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Verification</span></a><a href="#resetbackupkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Backup<wbr/>Key</span></a><a href="#rotatebackupkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rotate<wbr/>Backup<wbr/>Key</span></a><a href="#startverification"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start<wbr/>Verification</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sudoplatform/sudo-secure-communications</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>