You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add support for email mfa code
* adding support for mfa setup selection and setting up email
* Apply suggestions from code review
Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
* worked on review comments
* update strings and some logics
* missed update
* fix conflicts
* pushing a test.
* update sign in step to confirmSignInWithOTP
* Update Sources/Authenticator/Views/ConfirmSignInWithOTPView.swift
Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
* Update Sources/Authenticator/Views/ConfirmSignInWithOTPView.swift
Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
* Update Sources/Authenticator/Views/ConfirmSignInWithOTPView.swift
Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
* worked on review comment
* updated to match Android
* fix failing tests
* add/update UI Tests and snapshot images
* trying out ui tests
* update
* missing added file
* adding ui tests for next steps
* revert the package swift for release
* Update Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift
* Update Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift
* Update Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift
* Update Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift
* update workflow to get the the latest package dependencies
* update workflow
* another update
* update
* update
* update
* update package.resolved to remove email mfa support branch reference
* update amplify version dependency
---------
Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
@@ -65,12 +71,18 @@ public struct Authenticator<LoadingContent: View,
65
71
/// Defaults to a ``SignInView``.
66
72
/// - Parameter confirmSignInWithMFACodeContent: The content associated with the ``AuthenticatorStep/confirmSignInWithMFACode`` step.
67
73
/// Defaults to a ``ConfirmSignInWithMFACodeView``.
74
+
/// - Parameter confirmSignInWithOTPContent: The content associated with the ``AuthenticatorStep/confirmSignInWithOTP`` step.
75
+
/// Defaults to a ``ConfirmSignInWithOTPView``.
68
76
///- Parameter confirmSignInWithTOTPCodeContent: The content associated with the ``AuthenticatorStep/confirmSignInWithTOTPCode`` step.
69
77
/// Defaults to a ``ConfirmSignInWithMFACodeView``.
70
78
///- Parameter continueSignInWithMFASelectionContent: The content associated with the ``AuthenticatorStep/continueSignInWithMFASelection`` step.
71
79
/// Defaults to a ``ContinueSignInWithMFASelectionView``.
80
+
///- Parameter continueSignInWithMFASetupSelectionContent: The content associated with the ``AuthenticatorStep/continueSignInWithMFASetupSelection`` step.
81
+
/// Defaults to a ``ContinueSignInWithMFASetupSelectionView``.
72
82
///- Parameter continueSignInWithTOTPSetupContent: The content associated with the ``AuthenticatorStep/continueSignInWithTOTPSetup`` step.
73
83
/// Defaults to a ``ContinueSignInWithTOTPSetupView``.
84
+
///- Parameter continueSignInWithEmailMFASetupContent: The content associated with the ``AuthenticatorStep/continueSignInWithEmailMFASetup`` step.
85
+
/// Defaults to a ``ContinueSignInWithEmailMFASetupView``.
74
86
/// - Parameter confirmSignInWithCustomChallengeContent: The content associated with the ``AuthenticatorStep/confirmSignInWithCustomChallenge`` step.
75
87
/// Defaults to a ``ConfirmSignInWithCustomChallengeView``.
76
88
/// - Parameter confirmSignInWithNewPasswordContent: The content associated with the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
@@ -106,15 +118,24 @@ public struct Authenticator<LoadingContent: View,
106
118
@ViewBuilder confirmSignInWithMFACodeContent:(ConfirmSignInWithCodeState)->ConfirmSignInWithMFACodeContent={ state in
107
119
ConfirmSignInWithMFACodeView(state: state)
108
120
},
121
+
@ViewBuilder confirmSignInWithOTPContent:@escaping(ConfirmSignInWithCodeState)->ConfirmSignInWithOTPContent={ state in
122
+
ConfirmSignInWithOTPView(state: state)
123
+
},
109
124
@ViewBuilder confirmSignInWithTOTPCodeContent:@escaping(ConfirmSignInWithCodeState)->ConfirmSignInWithTOTPCodeContent={ state in
110
125
ConfirmSignInWithTOTPView(state: state)
111
126
},
112
127
@ViewBuilder continueSignInWithMFASelectionContent:@escaping(ContinueSignInWithMFASelectionState)->ContinueSignInWithMFASelectionContent={ state in
113
128
ContinueSignInWithMFASelectionView(state: state)
114
129
},
130
+
@ViewBuilder continueSignInWithMFASetupSelectionContent:@escaping(ContinueSignInWithMFASetupSelectionState)->ContinueSignInWithMFASetupSelectionContent={ state in
0 commit comments