-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
Generated by 🚫 Danger |
7c54175
to
e049c5f
Compare
e049c5f
to
6c29a2d
Compare
@@ -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 { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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