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

[auth-swift] Recaptcha Enterprise integration #11942

Merged
merged 8 commits into from
Oct 26, 2023
Merged

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Oct 13, 2023

Reimplementation of #11681
Also one-line fix from #11698

It's especially interesting to see how much async/await improves the Auth.swift vs FIRAuth.m changes and how much more understandable the reflection/protocol implementation is in AuthRecaptchaVerifier.swift.

The sample change is done but only partly tested. I added a todo to https://docs.google.com/spreadsheets/d/1o2DqFu9q-o4dWTcbHywHiB_Pi02A7-bSjVe2Odxqcdo/edit?pli=1&resourcekey=0-FZN_D-sDn3MmZTkK3OdRsw#gid=0

@paulb777 paulb777 changed the title Pb swift recaptcha [auth-swift] Recaptcha Enterprise integration Oct 13, 2023
@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

@paulb777 paulb777 marked this pull request as draft October 13, 2023 23:22
@paulb777 paulb777 force-pushed the pb-swift-recaptcha branch 2 times, most recently from 7c54175 to e049c5f Compare October 14, 2023 01:08
@paulb777 paulb777 marked this pull request as ready for review October 25, 2023 23:08
@paulb777 paulb777 merged commit 2331573 into auth-swift Oct 26, 2023
29 checks passed
@paulb777 paulb777 deleted the pb-swift-recaptcha branch October 26, 2023 21:58
@@ -30,47 +30,63 @@ private let kIdentityPlatformStagingAPIHost =

/// Represents a request to an identity toolkit endpoint.
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
open class IdentityToolkitRequest {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious why these keywords are no longer needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Extra public visibility was necessary for porting when the library was a mix of Objective C and Swift. Now that it is all Swift, the access can be corrected.

A full review of all the access specifiers across all the sources is on the TODO list.

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.

5 participants