cidaas-javascript-sdk 3.1.0 → 3.1.2

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.
@@ -1,886 +0,0 @@
1
- import { UserManagerSettings } from "oidc-client-ts";
2
- import { AccessTokenRequest, TokenIntrospectionEntity, UserEntity, ResetPasswordEntity, IConfiguredListRequestEntity, IInitVerificationAuthenticationRequestEntity, FindUserEntity, IUserEntity, FidoSetupEntity, IEnrollVerificationSetupRequestEntity, ISuggestedMFAActionConfig, IUserLinkEntity, UpdateReviewDeviceEntity, UserActivityEntity, ChangePasswordEntity, IConsentAcceptEntity, IAuthVerificationAuthenticationRequestEntity, FaceVerificationAuthenticationRequestEntity, LoginFormRequestEntity, AccountVerificationRequestEntity, ValidateResetPasswordEntity, AcceptResetPasswordEntity, LoginFormRequestAsyncEntity, PhysicalVerificationLoginRequest, IChangePasswordEntity } from "./Entities";
3
- export declare class WebAuth {
4
- constructor(settings: UserManagerSettings & {
5
- mode?: string;
6
- cidaas_version: number;
7
- });
8
- /**
9
- * @param string
10
- * @returns
11
- */
12
- private base64URL;
13
- /**
14
- * login
15
- */
16
- loginWithBrowser(): void;
17
- /**
18
- * register
19
- */
20
- registerWithBrowser(): void;
21
- /**
22
- * login callback
23
- * @returns
24
- */
25
- loginCallback(): Promise<unknown>;
26
- /**
27
- * get user info
28
- * @returns
29
- */
30
- getUserInfo(): Promise<any>;
31
- /**
32
- * logout
33
- * @returns
34
- */
35
- logout(): Promise<unknown>;
36
- /**
37
- * logout callback
38
- * @returns
39
- */
40
- logoutCallback(): Promise<unknown>;
41
- /**
42
- * get login url
43
- * @returns
44
- */
45
- getLoginURL(): string;
46
- /**
47
- * get request id
48
- * @returns
49
- */
50
- getRequestId(): Promise<unknown>;
51
- /**
52
- * get missing fields
53
- * @param options
54
- * @returns
55
- */
56
- getMissingFields(options: {
57
- requestId: string;
58
- trackId: string;
59
- }): Promise<unknown>;
60
- /**
61
- * get Tenant info
62
- * @returns
63
- */
64
- getTenantInfo(): Promise<unknown>;
65
- /**
66
- * logout api call
67
- * @param options
68
- */
69
- logoutUser(options: {
70
- access_token: string;
71
- }): void;
72
- /**
73
- * get Client Info
74
- * @param options
75
- * @returns
76
- */
77
- getClientInfo(options: {
78
- requestId: string;
79
- }): Promise<unknown>;
80
- /**
81
- * get all devices associated to the client
82
- * @param options
83
- * @returns
84
- */
85
- getDevicesInfo(options: any): Promise<unknown>;
86
- /**
87
- * delete a device
88
- * @param options
89
- * @returns
90
- */
91
- deleteDevice(options: {
92
- device_id: string;
93
- userAgent?: string;
94
- }): Promise<unknown>;
95
- /**
96
- * get Registration setup
97
- * @param options
98
- * @returns
99
- */
100
- getRegistrationSetup(options: {
101
- acceptlanguage: string;
102
- requestId: string;
103
- }): Promise<unknown>;
104
- /**
105
- * get unreviewed devices
106
- * @param access_token
107
- * @param sub
108
- * @returns
109
- */
110
- getUnreviewedDevices(access_token: string, sub: string): Promise<unknown>;
111
- /**
112
- * get reviewed devices
113
- * @param access_token
114
- * @param sub
115
- * @returns
116
- */
117
- getReviewedDevices(access_token: string, sub: string): Promise<unknown>;
118
- /**
119
- * review device
120
- * @param options
121
- * @param access_token
122
- * @returns
123
- */
124
- reviewDevice(options: UpdateReviewDeviceEntity, access_token: string): Promise<unknown>;
125
- /**
126
- * get device info
127
- * @returns
128
- */
129
- getDeviceInfo(): Promise<unknown>;
130
- /**
131
- * get user info
132
- * @param options
133
- * @returns
134
- */
135
- getUserProfile(options: {
136
- access_token: string;
137
- }): Promise<unknown>;
138
- /**
139
- * renew token using refresh token
140
- * @param options
141
- * @returns
142
- */
143
- renewToken(options: AccessTokenRequest): Promise<unknown>;
144
- /**
145
- * get access token from code
146
- * @param options
147
- * @returns
148
- */
149
- getAccessToken(options: AccessTokenRequest): Promise<unknown>;
150
- /**
151
- * validate access token
152
- * @param options
153
- * @returns
154
- */
155
- validateAccessToken(options: TokenIntrospectionEntity): Promise<unknown>;
156
- /**
157
- * login with username and password
158
- * @param options
159
- */
160
- loginWithCredentials(options: LoginFormRequestEntity): void;
161
- /**
162
- * login with username and password and return response
163
- * @param options
164
- * @returns
165
- */
166
- loginWithCredentialsAsynFn(options: LoginFormRequestAsyncEntity): Promise<void>;
167
- /**
168
- * login with social
169
- * @param options
170
- * @param queryParams
171
- */
172
- loginWithSocial(options: {
173
- provider: string;
174
- requestId: string;
175
- }, queryParams: {
176
- dc: string;
177
- device_fp: string;
178
- }): void;
179
- /**
180
- * register with social
181
- * @param options
182
- * @param queryParams
183
- */
184
- registerWithSocial(options: {
185
- provider: string;
186
- requestId: string;
187
- }, queryParams: {
188
- dc: string;
189
- device_fp: string;
190
- }): void;
191
- /**
192
- * register user
193
- * @param options
194
- * @param headers
195
- * @returns
196
- */
197
- register(options: UserEntity, headers: {
198
- requestId: string;
199
- captcha?: string;
200
- acceptlanguage?: string;
201
- bot_captcha_response?: string;
202
- trackId?: string;
203
- }): Promise<unknown>;
204
- /**
205
- * get invite info
206
- * @param options
207
- * @returns
208
- */
209
- getInviteUserDetails(options: {
210
- invite_id: string;
211
- }): Promise<unknown>;
212
- /**
213
- * get Communication status
214
- * @param options
215
- * @returns
216
- */
217
- getCommunicationStatus(options: {
218
- sub: string;
219
- requestId: string;
220
- }): Promise<unknown>;
221
- /**
222
- * initiate verification
223
- * @param options
224
- * @returns
225
- */
226
- initiateAccountVerification(options: AccountVerificationRequestEntity): void;
227
- /**
228
- * initiate verification and return response
229
- * @param options
230
- * @returns
231
- */
232
- initiateAccountVerificationAsynFn(options: AccountVerificationRequestEntity): Promise<Response>;
233
- /**
234
- * verify account
235
- * @param options
236
- * @returns
237
- */
238
- verifyAccount(options: {
239
- accvid: string;
240
- code: string;
241
- }): Promise<unknown>;
242
- /**
243
- * initiate reset password
244
- * @param options
245
- * @returns
246
- */
247
- initiateResetPassword(options: ResetPasswordEntity): Promise<unknown>;
248
- /**
249
- * handle reset password
250
- * @param options
251
- */
252
- handleResetPassword(options: ValidateResetPasswordEntity): Promise<unknown>;
253
- /**
254
- * reset password
255
- * @param options
256
- */
257
- resetPassword(options: AcceptResetPasswordEntity): Promise<unknown>;
258
- /**
259
- * get mfa list v2
260
- * @param options
261
- * @returns
262
- */
263
- getMFAListV2(options: IConfiguredListRequestEntity): Promise<unknown>;
264
- /**
265
- * cancel mfa v2
266
- * @param options
267
- * @returns
268
- */
269
- cancelMFAV2(options: {
270
- exchange_id: string;
271
- reason: string;
272
- type: string;
273
- }): Promise<unknown>;
274
- /**
275
- * passwordless login
276
- * @param options
277
- */
278
- passwordlessLogin(options: PhysicalVerificationLoginRequest): void;
279
- /**
280
- * get user consent details
281
- * @param options
282
- * @returns
283
- */
284
- getConsentDetailsV2(options: {
285
- consent_id: string;
286
- consent_version_id: string;
287
- sub: string;
288
- }): Promise<unknown>;
289
- /**
290
- * accept consent v2
291
- * @param options
292
- * @returns
293
- */
294
- acceptConsentV2(options: IConsentAcceptEntity): Promise<unknown>;
295
- /**
296
- * get scope consent details
297
- * @param options
298
- * @returns
299
- */
300
- getScopeConsentDetails(options: {
301
- track_id: string;
302
- locale: string;
303
- }): Promise<unknown>;
304
- /**
305
- * get scope consent version details
306
- * @param options
307
- * @returns
308
- */
309
- getScopeConsentVersionDetailsV2(options: {
310
- scopeid: string;
311
- locale: string;
312
- access_token: string;
313
- }): Promise<unknown>;
314
- /**
315
- * accept scope Consent
316
- * @param options
317
- * @returns
318
- */
319
- acceptScopeConsent(options: {
320
- client_id: string;
321
- sub: string;
322
- scopes: string[];
323
- }): Promise<unknown>;
324
- /**
325
- * scope consent continue login
326
- * @param options
327
- */
328
- scopeConsentContinue(options: {
329
- track_id: string;
330
- }): void;
331
- /**
332
- * accept claim Consent
333
- * @param options
334
- * @returns
335
- */
336
- acceptClaimConsent(options: {
337
- client_id: string;
338
- sub: string;
339
- accepted_claims: string[];
340
- }): Promise<unknown>;
341
- /**
342
- * claim consent continue login
343
- * @param options
344
- */
345
- claimConsentContinue(options: {
346
- track_id: string;
347
- }): void;
348
- /**
349
- * revoke claim Consent
350
- * @param options
351
- * @returns
352
- */
353
- revokeClaimConsent(options: {
354
- client_id: string;
355
- sub: string;
356
- revoked_claims: string[];
357
- }): Promise<unknown>;
358
- /**
359
- * get Deduplication details
360
- * @param options
361
- * @returns
362
- */
363
- getDeduplicationDetails(options: {
364
- trackId: string;
365
- }): Promise<unknown>;
366
- /**
367
- * deduplication login
368
- * @param options
369
- */
370
- deduplicationLogin(options: {
371
- trackId: string;
372
- requestId: string;
373
- sub: string;
374
- }): void;
375
- /**
376
- * register Deduplication
377
- * @param options
378
- * @returns
379
- */
380
- registerDeduplication(options: {
381
- trackId: string;
382
- }): Promise<unknown>;
383
- /**
384
- * accepts any as the request
385
- * consent continue login
386
- * @param options
387
- */
388
- consentContinue(options: {
389
- client_id: string;
390
- consent_refs: string[];
391
- sub: string;
392
- scopes: string[];
393
- matcher: any;
394
- track_id: string;
395
- }): void;
396
- /**
397
- * mfa continue login
398
- * @param options
399
- */
400
- mfaContinue(options: PhysicalVerificationLoginRequest & {
401
- track_id: string;
402
- }): void;
403
- /**
404
- * change password continue
405
- * @param options
406
- */
407
- firstTimeChangePassword(options: IChangePasswordEntity): void;
408
- /**
409
- * change password
410
- * @param options
411
- * @param access_token
412
- * @returns
413
- */
414
- changePassword(options: ChangePasswordEntity, access_token: string): Promise<unknown>;
415
- /**
416
- * update profile
417
- * @param options
418
- * @param access_token
419
- * @param sub
420
- * @returns
421
- */
422
- updateProfile(options: UserEntity, access_token: string, sub: string): Promise<unknown>;
423
- /**
424
- * get user activities
425
- * @param options
426
- * @param access_token
427
- * @returns
428
- */
429
- getUserActivities(options: UserActivityEntity, access_token: string): Promise<unknown>;
430
- /**
431
- * @param access_token
432
- * @returns
433
- */
434
- getAllVerificationList(access_token: string): Promise<unknown>;
435
- /**
436
- * initiate link accoount
437
- * @param options
438
- * @param access_token
439
- * @returns
440
- */
441
- initiateLinkAccount(options: IUserLinkEntity, access_token: string): Promise<unknown>;
442
- /**
443
- * complete link accoount
444
- * @param options
445
- * @param access_token
446
- * @returns
447
- */
448
- completeLinkAccount(options: {
449
- code?: string;
450
- link_request_id?: string;
451
- }, access_token: string): Promise<unknown>;
452
- /**
453
- * get linked users
454
- * @param access_token
455
- * @param sub
456
- * @returns
457
- */
458
- getLinkedUsers(access_token: string, sub: string): Promise<unknown>;
459
- /**
460
- * unlink accoount
461
- * @param access_token
462
- * @param identityId
463
- * @returns
464
- */
465
- unlinkAccount(access_token: string, identityId: string): Promise<unknown>;
466
- /**
467
- * image upload
468
- * @param options
469
- * @param access_token
470
- * @returns
471
- */
472
- updateProfileImage(options: {
473
- image_key: string;
474
- }, access_token: string): Promise<unknown>;
475
- /**
476
- * updateSuggestMFA
477
- * @param track_id
478
- * @param options
479
- * @returns
480
- */
481
- updateSuggestMFA(track_id: string, options: ISuggestedMFAActionConfig): Promise<unknown>;
482
- /**
483
- * enrollVerification
484
- * @param options
485
- * @returns
486
- */
487
- enrollVerification(options: IEnrollVerificationSetupRequestEntity): Promise<unknown>;
488
- /**
489
- * @deprecated This function is no longer supported, instead use {this.updateStatus()}
490
- * @param status_id
491
- * @returns
492
- */
493
- updateSocket(status_id: string): Promise<unknown>;
494
- /**
495
- * update the status of notification
496
- * @param status_id
497
- * @returns
498
- */
499
- updateStatus(status_id: string): Promise<unknown>;
500
- /**
501
- * setupFidoVerification
502
- * @param options
503
- * @returns
504
- */
505
- setupFidoVerification(options: FidoSetupEntity): Promise<unknown>;
506
- /**
507
- * checkVerificationTypeConfigured
508
- * @param options
509
- * @returns
510
- */
511
- checkVerificationTypeConfigured(options: IConfiguredListRequestEntity): Promise<unknown>;
512
- /**
513
- * deleteUserAccount
514
- * @param options
515
- * @returns
516
- */
517
- deleteUserAccount(options: {
518
- access_token: string;
519
- sub: string;
520
- }): Promise<unknown>;
521
- /**
522
- * getMissingFieldsLogin
523
- * @param trackId
524
- * @returns
525
- */
526
- getMissingFieldsLogin(trackId: string): Promise<unknown>;
527
- /**
528
- * progressiveRegistration
529
- * @param options
530
- * @param headers
531
- * @returns
532
- */
533
- progressiveRegistration(options: IUserEntity, headers: {
534
- requestId: string;
535
- trackId: string;
536
- acceptlanguage: string;
537
- }): Promise<unknown>;
538
- /**
539
- * loginAfterRegister
540
- * @param options
541
- */
542
- loginAfterRegister(options: {
543
- device_id: string;
544
- dc?: string;
545
- rememberMe: boolean;
546
- trackId: string;
547
- }): void;
548
- /**
549
- * device code flow - verify
550
- * @param code
551
- */
552
- deviceCodeVerify(code: string): void;
553
- /**
554
- * check if an user exists
555
- * @param options
556
- * @returns
557
- */
558
- userCheckExists(options: FindUserEntity): Promise<unknown>;
559
- /**
560
- * To set accept language
561
- * @param acceptLanguage
562
- */
563
- setAcceptLanguageHeader(acceptLanguage: string): void;
564
- /**
565
- * initiate mfa v2
566
- * @param options
567
- * @returns
568
- */
569
- initiateMFAV2(options: IInitVerificationAuthenticationRequestEntity): Promise<unknown>;
570
- /**
571
- * initiateVerification
572
- * @param options
573
- */
574
- initiateVerification(options: IInitVerificationAuthenticationRequestEntity): void;
575
- /**
576
- * initiate email v2
577
- * @param options
578
- */
579
- initiateEmailV2(options: IInitVerificationAuthenticationRequestEntity): void;
580
- /**
581
- * initiate sms v2
582
- * @param options
583
- */
584
- initiateSMSV2(options: IInitVerificationAuthenticationRequestEntity): void;
585
- /**
586
- * initiate ivr v2
587
- * @param options
588
- */
589
- initiateIVRV2(options: IInitVerificationAuthenticationRequestEntity): void;
590
- /**
591
- * initiate backupcode v2
592
- * @param options
593
- */
594
- initiateBackupcodeV2(options: IInitVerificationAuthenticationRequestEntity): void;
595
- /**
596
- * initiate totp v2
597
- * @param options
598
- */
599
- initiateTOTPV2(options: IInitVerificationAuthenticationRequestEntity): void;
600
- /**
601
- * initiate pattern v2
602
- * @param options
603
- */
604
- initiatePatternV2(options: IInitVerificationAuthenticationRequestEntity): void;
605
- /**
606
- * initiate touchid v2
607
- * @param options
608
- */
609
- initiateTouchIdV2(options: IInitVerificationAuthenticationRequestEntity): void;
610
- /**
611
- * initiate smart push v2
612
- * @param options
613
- */
614
- initiateSmartPushV2(options: IInitVerificationAuthenticationRequestEntity): void;
615
- /**
616
- * initiate face v2
617
- * @param options
618
- */
619
- initiateFaceV2(options: IInitVerificationAuthenticationRequestEntity): void;
620
- /**
621
- * initiate voice v2
622
- * @param options
623
- */
624
- initiateVoiceV2(options: IInitVerificationAuthenticationRequestEntity): void;
625
- /**
626
- * @deprecated
627
- * @param options
628
- * @param verificationType
629
- * @returns
630
- */
631
- initiateMfaV1(options: any, verificationType: string): Promise<unknown>;
632
- /**
633
- * @deprecated
634
- * initiate email - v1
635
- * @param options
636
- */
637
- initiateEmail(options: any): void;
638
- /**
639
- * @deprecated
640
- * initiate SMS - v1
641
- * @param options
642
- */
643
- initiateSMS(options: any): void;
644
- /**
645
- * @deprecated
646
- * initiate IVR - v1
647
- * @param options
648
- */
649
- initiateIVR(options: any): void;
650
- /**
651
- * @deprecated
652
- * initiate backup code - v1
653
- * @param options
654
- */
655
- initiateBackupcode(options: any): void;
656
- /**
657
- * @deprecated
658
- * initiate TOTP - v1
659
- * @param options
660
- */
661
- initiateTOTP(options: any): void;
662
- /**
663
- * @deprecated
664
- * initiate pattern - v1
665
- * @param options
666
- */
667
- initiatePattern(options: any): void;
668
- /**
669
- * @deprecated
670
- * initiate touchid - v1
671
- * @param options
672
- */
673
- initiateTouchId(options: any): void;
674
- /**
675
- * @deprecated
676
- * initiate push - v1
677
- * @param options
678
- */ initiateSmartPush(options: any): void;
679
- /**
680
- * @deprecated
681
- * initiate face - v1
682
- * @param options
683
- */
684
- initiateFace(options: any): void;
685
- /**
686
- * @deprecated
687
- * initiate Voice - v1
688
- * @param options
689
- */
690
- initiateVoice(options: any): void;
691
- /**
692
- * authenticate mfa v2
693
- * @param options
694
- * @returns
695
- */
696
- authenticateMFAV2(options: IAuthVerificationAuthenticationRequestEntity): Promise<unknown>;
697
- /**
698
- * authenticateVerification
699
- * @param options
700
- */
701
- authenticateVerification(options: IAuthVerificationAuthenticationRequestEntity): void;
702
- /**
703
- * authenticate email v2
704
- * @param options
705
- */
706
- authenticateEmailV2(options: IAuthVerificationAuthenticationRequestEntity): void;
707
- /**
708
- * authenticate sms v2
709
- * @param options
710
- */
711
- authenticateSMSV2(options: IAuthVerificationAuthenticationRequestEntity): void;
712
- /**
713
- * authenticate ivr v2
714
- * @param options
715
- */
716
- authenticateIVRV2(options: IAuthVerificationAuthenticationRequestEntity): void;
717
- /**
718
- * authenticate backupcode v2
719
- * @param options
720
- */
721
- authenticateBackupcodeV2(options: IAuthVerificationAuthenticationRequestEntity): void;
722
- /**
723
- * authenticate totp v2
724
- * @param options
725
- */
726
- authenticateTOTPV2(options: IAuthVerificationAuthenticationRequestEntity): void;
727
- /**
728
- * authenticateVerification form type (for face)
729
- * @param options
730
- * @returns
731
- */
732
- authenticateFaceVerification(options: FaceVerificationAuthenticationRequestEntity): Promise<unknown>;
733
- /**
734
- * @deprecated
735
- * setup verification - v1
736
- * @param options
737
- * @param access_token
738
- * @param verificationType
739
- * @returns
740
- */
741
- setupVerificationV1(options: any, access_token: string, verificationType: string): Promise<unknown>;
742
- /**
743
- * @deprecated
744
- * setup email - v1
745
- * @param options
746
- * @param access_token
747
- */
748
- setupEmail(options: any, access_token: string): void;
749
- /**
750
- * @deprecated
751
- * setup sms - v1
752
- * @param options
753
- * @param access_token
754
- */
755
- setupSMS(options: any, access_token: string): void;
756
- /**
757
- * @deprecated
758
- * setup ivr - v1
759
- * @param options
760
- * @param access_token
761
- */
762
- setupIVR(options: any, access_token: string): void;
763
- /**
764
- * @deprecated
765
- * setup backupcode - v1
766
- * @param options
767
- * @param access_token
768
- */
769
- setupBackupcode(options: any, access_token: string): void;
770
- /**
771
- * @deprecated
772
- * setup totp - v1
773
- * @param options
774
- * @param access_token
775
- */
776
- setupTOTP(options: any, access_token: string): void;
777
- /**
778
- * @deprecated
779
- * setup pattern - v1
780
- * @param options
781
- * @param access_token
782
- */
783
- setupPattern(options: any, access_token: string): void;
784
- /**
785
- * @deprecated
786
- * setup touch - v1
787
- * @param options
788
- * @param access_token
789
- */
790
- setupTouchId(options: any, access_token: string): void;
791
- /**
792
- * @deprecated
793
- * setup smart push - v1
794
- * @param options
795
- * @param access_token
796
- */
797
- setupSmartPush(options: any, access_token: string): void;
798
- /**
799
- * @deprecated
800
- * setup face - v1
801
- * @param options
802
- * @param access_token
803
- */
804
- setupFace(options: any, access_token: string): void;
805
- /**
806
- * @deprecated
807
- * setup voice - v1
808
- * @param options
809
- * @param access_token
810
- */
811
- setupVoice(options: any, access_token: string): void;
812
- /**
813
- * @deprecated
814
- * enroll verification - v1
815
- * @param options
816
- * @param access_token
817
- * @param verificationType
818
- * @returns
819
- */
820
- enrollVerificationV1(options: any, access_token: string, verificationType: string): Promise<unknown>;
821
- /**
822
- * @deprecated
823
- * enroll email - v1
824
- * @param options
825
- * @param access_token
826
- */
827
- enrollEmail(options: any, access_token: string): void;
828
- /**
829
- * @deprecated
830
- * enroll SMS - v1
831
- * @param options
832
- * @param access_token
833
- */
834
- enrollSMS(options: any, access_token: string): void;
835
- /**
836
- * @deprecated
837
- * enroll IVR - v1
838
- * @param options
839
- * @param access_token
840
- */
841
- enrollIVR(options: any, access_token: string): void;
842
- /**
843
- * @deprecated
844
- * enroll TOTP - v1
845
- * @param options
846
- * @param access_token
847
- */
848
- enrollTOTP(options: any, access_token: string): void;
849
- /**
850
- * @deprecated
851
- * authenticate mfa - v1
852
- * @param verificationType
853
- * @returns
854
- */
855
- authenticateMfaV1(options: any, verificationType: string): Promise<unknown>;
856
- /**
857
- * @deprecated
858
- * authenticate email - v1
859
- * @param options
860
- */
861
- authenticateEmail(options: any): void;
862
- /**
863
- * @deprecated
864
- * authenticate sms - v1
865
- * @param options
866
- */
867
- authenticateSMS(options: any): void;
868
- /**
869
- * @deprecated
870
- * authenticate ivr - v1
871
- * @param options
872
- */
873
- authenticateIVR(options: any): void;
874
- /**
875
- * @deprecated
876
- * authenticate totp - v1
877
- * @param options
878
- */
879
- authenticateTOTP(options: any): void;
880
- /**
881
- * @deprecated
882
- * authenticate backupcode - v1
883
- * @param options
884
- */
885
- authenticateBackupcode(options: any): void;
886
- }