Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Auth): Adding TOTP support in Amplify Auth category #3040

Merged
merged 3 commits into from
Jul 3, 2023

Conversation

harsh62
Copy link
Member

@harsh62 harsh62 commented Jun 23, 2023

Description

TOTP PR Number # 1

Adding TOTP support in Amplify Auth Category

  • Adding public API's
  • Adding changes to the Auth next steps
  • Adding other models updates and additions

NOTE: The unit and integration tests will fail until all changes make it to the feature branch
(The PR is directed towards a feature branch)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Amplify/Categories/Auth/Request/SetUpTOTPRequest.swift Outdated Show resolved Hide resolved
/// username that will be used to construct the URI
public let username: String

public init(secretCode: String, username: String) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just double checking that the parameter name (secretCode) not matching the property name (sharedSecret) is expected.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Stupid Xcode refactor feature, I thought it would be smart enough to rename everything.

@harsh62 harsh62 merged commit b48a3bd into feat/totp-support Jul 3, 2023
@harsh62 harsh62 deleted the feat/totp-pr1 branch July 3, 2023 16:06
harsh62 added a commit that referenced this pull request Jul 4, 2023
* feat(Auth): Adding TOTP support in Amplify Auth category

* worked on review comments

* adding more detailed comments for the new API's
harsh62 added a commit that referenced this pull request Jul 19, 2023
* feat(Auth): Adding TOTP support in Amplify Auth category

* worked on review comments

* adding more detailed comments for the new API's
harsh62 added a commit that referenced this pull request Jul 25, 2023
* feat(Auth): Adding TOTP support in Amplify Auth category

* worked on review comments

* adding more detailed comments for the new API's
harsh62 added a commit that referenced this pull request Aug 1, 2023
* feat(Auth): Adding TOTP support in Amplify Auth category

* worked on review comments

* adding more detailed comments for the new API's
harsh62 added a commit that referenced this pull request Aug 28, 2023
* feat(Auth): Adding TOTP support in Amplify Auth category

* worked on review comments

* adding more detailed comments for the new API's
harsh62 added a commit that referenced this pull request Aug 28, 2023
* feat(Auth): Adding TOTP support in Amplify Auth category

* worked on review comments

* adding more detailed comments for the new API's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants