-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Auth] Forward secure coding calls for TOTPMultiFactorInfo #13592
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
Conversation
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.
Despite being marked unavailable, this class's init?(coder:)
is actually called when totp is registered:
coder.encode(enrolledFactors, forKey: kEnrolledFactorsCodingKey) |
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.
Thanks!
Will need to be cherry-picked to 11.2 branch as well.
Fix #13591
totpInfo
property because it's not used. The property onAuthProtoMFAEnrollment
is enough (e.g.git grep "\.totpInfo" -- FirebaseAuth/Sources/Swift
.firebase-ios-sdk/FirebaseAuth/Sources/Swift/Backend/RPC/Proto/AuthProtoMFAEnrollment.swift
Line 19 in ed4269b