Skip to content

Conversation

pragatimodi
Copy link
Contributor

@pragatimodi pragatimodi commented Jun 6, 2023

Added unit tests for start and finalize MFA enrollment flows

@pragatimodi pragatimodi changed the base branch from master to totp-release-0413 June 6, 2023 00:34
@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@pragatimodi pragatimodi self-assigned this Jun 6, 2023
@pragatimodi pragatimodi marked this pull request as draft June 6, 2023 00:37
@pragatimodi pragatimodi removed their assignment Jun 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Apple API Diff Report

Commit: a8ba522
Last updated: Mon Jun 5 17:37 PDT 2023
View workflow logs & download artifacts


FirebaseAuth

Classes

[ADDED] FIRTOTPSecret
[ADDED] FIRTOTPSecret
Swift:
+  class TOTPSecret : NSObject
+    func sharedSecretKey () -> String
+    func generateQRCodeURL ( withAccountName accountName : String , issuer : String ) -> String
+    func openInOTPApp ( withQRCodeURL QRCodeURL : String )
Objective-C:
+  @interface FIRTOTPSecret : NSObject
+    - ( nonnull NSString * ) sharedSecretKey ;
+    - ( nonnull NSString * ) generateQRCodeURLWithAccountName :( nonnull NSString * ) accountName issuer :( nonnull NSString * ) issuer ;
+    - ( void ) openInOTPAppWithQRCodeURL :( nonnull NSString * ) QRCodeURL ;
[ADDED] FIRTOTPMultiFactorGenerator
[ADDED] FIRTOTPMultiFactorGenerator
Objective-C:
+  @interface FIRTOTPMultiFactorGenerator : NSObject
+    + ( void ) generateSecretWithMultiFactorSession : ( nonnull FIRMultiFactorSession * ) session completion :( nonnull void ( ^ )( FIRTOTPSecret * _Nullable , NSError * _Nullable )) completion ;
+    + ( nonnull FIRTOTPMultiFactorAssertion * ) assertionForEnrollmentWithSecret :( nonnull FIRTOTPSecret * ) secret oneTimePassword :( nonnull NSString * ) oneTimePassword ;
+    + ( nonnull FIRTOTPMultiFactorAssertion * ) assertionForSignInWithEnrollmentID :( nonnull NSString * ) enrollmentID oneTimePassword :( nonnull NSString * ) oneTimePassword ;
[ADDED] FIRTOTPMultiFactorAssertion
[ADDED] FIRTOTPMultiFactorAssertion
Objective-C:
+  @interface FIRTOTPMultiFactorAssertion : FIRMultiFactorAssertion

Constants

[ADDED] FIRTOTPMultiFactorID
[ADDED] FIRTOTPMultiFactorID
Objective-C:
+  extern NSString * const _Nonnull FIRTOTPMultiFactorID

@pragatimodi pragatimodi force-pushed the unit-tests-enrollment branch 2 times, most recently from cd15ad4 to bc65d32 Compare June 12, 2023 17:09
@pragatimodi pragatimodi force-pushed the unit-tests-enrollment branch from bc65d32 to 0a2da8a Compare June 12, 2023 17:10
@pragatimodi pragatimodi changed the title Unit tests enrollment [Unit tests] TOTP Enrollment Jun 12, 2023
@pragatimodi pragatimodi marked this pull request as ready for review June 12, 2023 17:18
@pragatimodi pragatimodi requested a review from renkelvin June 12, 2023 20:34
@pragatimodi pragatimodi merged commit a152bf7 into totp-release-0413 Jun 13, 2023
@pragatimodi pragatimodi deleted the unit-tests-enrollment branch June 13, 2023 23:17
@firebase firebase locked and limited conversation to collaborators Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants