You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: Deprecating old APIs in Auth (#699)
* Initial change for Auth Google/IO changes to just fix the compiler error (#680)
Initial change to make sure Unity SDK can compile against C++ Auth feature branch.
Integration test is expected to be broken since it is pointing to C++ main and Unity integration test is not update.
This change includes:
- Update SWIG postprocess to rename deprecated functions which returns a `Task`
- Remove `PhoneAuthProvider.MaxTimeoutMs`
- Wire the following function to new C++ impl
- `Firebase.Auth.FirebaseAuth.CurrentUser`
- `Firebase.Auth.FirebaseUser.ProviderData`
- Deprecated the following function
- Firebase.Auth.FirebaseAuth.SignInWithCustomTokenAsync_DEPRECATED
- Firebase.Auth.FirebaseAuth.SignInWithCredentialAsync_DEPRECATED
- Firebase.Auth.FirebaseAuth.SignInAndRetrieveDataWithCredentialAsync_DEPRECATED
- Firebase.Auth.FirebaseAuth.SignInAnonymouslyAsync_DEPRECATED
- Firebase.Auth.FirebaseAuth.SignInWithEmailAndPasswordAsync_DEPRECATED
- Firebase.Auth.FirebaseAuth.CreateUserWithEmailAndPasswordAsync_DEPRECATED
- Firebase.Auth.FirebaseAuth.SignInWithProviderAsync_DEPRECATED
- Firebase.Auth.FirebaseUser.ReauthenticateWithProviderAsync_DEPRECATED
- Firebase.Auth.FirebaseUser.LinkWithProviderAsync_DEPRECATED
- Added C# impl for new `PhoneAuthOptions` class
- Placeholder impl for `PhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)`
* Remaining Auth deprecated APIs for Google I/O (#684)
Rename and deprecated the following methods
- `FirebaseUser.LinkAndRetrieveDataWithCredentialAsync_DEPRECATED()`
- `FirebaseUser.LinkWithCredentialAsync_DEPRECATED()`
- `FirebaseUser.ReauthenticateAndRetrieveDataAsync_DEPRECATED()`
- `FirebaseUser.UnlinkAsync_DEPRECATED()`
- `FirebaseUser.UpdatePhoneNumberCredentialAsync_DEPRECATED()`
- `PhoneAuthProvider.VerificationCompleted_DEPRECATED`
- `PhoneAuthProvider.VerifyPhoneNumber()`
- `PhoneAuthProvider.GetCredential_DEPRECATED()`
/// Maximum value of `autoVerifyTimeOutMs` in @ref VerifyPhoneNumber.
63
-
/// @ref VerifyPhoneNumber will automatically clamp values to this amount.
64
-
///
65
-
/// @deprecated This value is no longer used to clamp
66
-
/// `autoVerifyTimeOutMs` in @ref VerifyPhoneNumber. The range is
67
-
/// determined by the underlying SDK, ex. <a href="/docs/reference/android/com/google/firebase/auth/PhoneAuthOptions.Builder"><code>PhoneAuthOptions.Build</code> in Android SDK</a>
68
-
[System.Obsolete("PhoneAuthProvider.MaxTimeoutMs is deprecated. This value no longer affects PhoneAuthProvider.VerifyPhoneNumber()")]
69
-
publicstaticuintMaxTimeoutMs{
70
-
get{
71
-
returnPhoneAuthProviderInternal.kMaxTimeoutMs;
72
-
}
73
-
}
74
-
67
+
/// @deprecated This is a deprecated delegate. Please use @ref
68
+
/// VerificationCompleted instead.
69
+
//
75
70
/// Callback used when phone number auto-verification succeeded.
0 commit comments