15
15
* limitations under the License.
16
16
*/
17
17
import { TotpSecret } from '../../platform_browser/mfa/assertions/totp' ;
18
- import { TotpMultiFactorAssertion } from '../../model/public_types' ;
18
+ import { TotpMultiFactorAssertion , MultiFactorSession } from '../../model/public_types' ;
19
19
import { FactorId } from '../../model/enum_maps' ;
20
- import { MultiFactorSession } from '../../model/public_types' ;
21
20
/**
22
21
* Provider for generating a {@link TotpMultiFactorAssertion}.
23
22
*
@@ -34,8 +33,8 @@ export class TotpMultiFactorGenerator {
34
33
* {@link MultiFactorUser.enroll}.
35
34
*/
36
35
static assertionForEnrollment (
37
- secret : TotpSecret ,
38
- oneTimePassword : string
36
+ _secret : TotpSecret ,
37
+ _oneTimePassword : string
39
38
) : TotpMultiFactorAssertion {
40
39
throw new Error ( 'Unimplemented' ) ;
41
40
}
@@ -49,8 +48,8 @@ export class TotpMultiFactorGenerator {
49
48
* {@link MultiFactorResolver.resolveSignIn}.
50
49
*/
51
50
static assertionForSignIn (
52
- enrollmentId : string ,
53
- otp : string
51
+ _enrollmentId : string ,
52
+ _otp : string
54
53
) : TotpMultiFactorAssertion {
55
54
throw new Error ( 'Unimplemented' ) ;
56
55
}
@@ -64,7 +63,7 @@ export class TotpMultiFactorGenerator {
64
63
* @returns A promise to {@link TotpSecret}.
65
64
*/
66
65
static async generateSecret (
67
- session : MultiFactorSession
66
+ _session : MultiFactorSession
68
67
) : Promise < TotpSecret > {
69
68
throw new Error ( 'Unimplemented' ) ;
70
69
}
0 commit comments