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

directly include the mfa module #195

Merged
merged 20 commits into from
May 18, 2024
Merged

directly include the mfa module #195

merged 20 commits into from
May 18, 2024

Conversation

briskt
Copy link
Contributor

@briskt briskt commented May 10, 2024

Added

Removed

  • Removed empty placeholder test scenarios.

Changed

  • Changed the namespace on the Assert, LoggerFactory and LoginBrowser classes to avoid a custom autoload.

--

Note: the first commit is mostly just copied files, and the remainder are the changes made to those files.

@briskt briskt requested a review from a team May 10, 2024 10:48
composer.json Outdated Show resolved Hide resolved
development/idp-local/config/authsources.php Show resolved Hide resolved
features/bootstrap/MfaContext.php Outdated Show resolved Hide resolved
features/bootstrap/MfaContext.php Outdated Show resolved Hide resolved
features/bootstrap/MfaContext.php Outdated Show resolved Hide resolved
features/mfa.feature Outdated Show resolved Hide resolved
features/mfa.feature Show resolved Hide resolved
@forevermatt
Copy link
Contributor

Thanks for doing this, @briskt. It looks like it was a fair bit of work to merge this in. 👍

@briskt
Copy link
Contributor Author

briskt commented May 15, 2024

Thanks for doing this, @briskt. It looks like it was a fair bit of work to merge this in. 👍

It certainly was challenging, especially the part about changing the user agent. And dealing with PHP library versions. Just makes me appreciate Go all the more. :)

@briskt briskt requested a review from forevermatt May 16, 2024 08:27
composer.json Outdated Show resolved Hide resolved
@forevermatt
Copy link
Contributor

If you want to keep the class paths shorter, I think we've sometimes/often been using Sil\ as the root of our class namespaces, rather than SilInternational\. Just a option. As long as what's here matches the namespace line in the files under "features/", I think it will work just fine (but you probably know better than I do whether that's correct).

@briskt
Copy link
Contributor Author

briskt commented May 17, 2024

If you want to keep the class paths shorter, I think we've sometimes/often been using Sil\ as the root of our class namespaces, rather than SilInternational\. Just a option. As long as what's here matches the namespace line in the files under "features/", I think it will work just fine (but you probably know better than I do whether that's correct).

I was going for a direct match between the repo name and the namespace, but consistency is often better than "correctness". It's likely a bad assumption that a namespace should match the repository name. I'll change it to "Sil".

@briskt briskt merged commit e6ab52a into develop May 18, 2024
3 checks passed
@briskt briskt deleted the feature/mfa-module branch May 18, 2024 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants