@@ -750,10 +750,40 @@ export function signOut(auth: Auth): Promise<void>;
750
750
export interface TotpMultiFactorAssertion extends MultiFactorAssertion {
751
751
}
752
752
753
+ // @public
754
+ export class TotpMultiFactorGenerator {
755
+ static assertionForEnrollment(secret : TotpSecret , oneTimePassword : string ): TotpMultiFactorAssertion ;
756
+ static assertionForSignIn(enrollmentId : string , oneTimePassword : string ): TotpMultiFactorAssertion ;
757
+ // Warning: (ae-forgotten-export) The symbol "FactorId" needs to be exported by the entry point index.d.ts
758
+ static FACTOR_ID: FactorId_2 ;
759
+ static generateSecret(session : MultiFactorSession ): Promise <TotpSecret >;
760
+ }
761
+
753
762
// @public
754
763
export interface TotpMultiFactorInfo extends MultiFactorInfo {
755
764
}
756
765
766
+ // @public
767
+ export class TotpSecret {
768
+ // (undocumented)
769
+ readonly codeIntervalSeconds: number ;
770
+ // (undocumented)
771
+ readonly codeLength: number ;
772
+ // Warning: (ae-forgotten-export) The symbol "StartTotpMfaEnrollmentResponse" needs to be exported by the entry point index.d.ts
773
+ //
774
+ // @internal (undocumented)
775
+ static _fromStartTotpMfaEnrollmentResponse(response : StartTotpMfaEnrollmentResponse , auth : AuthInternal ): TotpSecret ;
776
+ generateQrCodeUrl(accountName ? : string , issuer ? : string ): string ;
777
+ // (undocumented)
778
+ readonly hashingAlgorithm: string ;
779
+ // Warning: (ae-forgotten-export) The symbol "TotpVerificationInfo" needs to be exported by the entry point index.d.ts
780
+ //
781
+ // @internal (undocumented)
782
+ _makeTotpVerificationInfo(otp : string ): TotpVerificationInfo ;
783
+ // (undocumented)
784
+ readonly secretKey: string ;
785
+ }
786
+
757
787
// @public
758
788
export class TwitterAuthProvider extends BaseOAuthProvider {
759
789
constructor ();
0 commit comments