-
Notifications
You must be signed in to change notification settings - Fork 114
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 rewrite #1254
base: main
Are you sure you want to change the base?
Auth rewrite #1254
Conversation
Update auth internals to support returning Future object for the new API while also support returning Future<User*> objects for the deprecated API on iOS. Changes does not include the new Future methods.
Removes the need for User objects to be stored in AuthData, unlocking ability for there to be more than one User object at a time. Continues to store a User in Auth, though, to maintain the implementation of the newly deprecated methods which return a User*. Added a RetainUser integration test.
@@ -493,6 +543,7 @@ class User : public UserInfoInterface { | |||
|
|||
// Use the pimpl mechanism to hide data details in the cpp files. | |||
AuthData* auth_data_; | |||
UserInternal* user_internal_; | |||
}; | |||
|
|||
} // namespace auth |
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.
📝 Documentation issue: [3 lines down] warning: More #endif's than #if's found.
|
||
/// @deprecated This is a deprecated method. Please use | ||
/// @CreateUserWithEmailAndPassword instead. | ||
/// |
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.
📝 Documentation issue: warning: Found unknown command '\CreateUserWithEmailAndPassword'
@@ -146,6 +147,8 @@ | |||
|
|||
~Auth(); | |||
|
|||
/// @deprecated This is a deprecated method. Please use @current_user instead. | |||
/// |
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.
📝 Documentation issue: warning: Found unknown command '\current_user'
|
||
/// @deprecated This is a deprecated method. Please use | ||
/// @SignInAndRetrieveDataWithCredential instead. | ||
/// |
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.
📝 Documentation issue: warning: Found unknown command '\SignInAndRetrieveDataWithCredential'
|
||
/// @deprecated This is a deprecated method. Please use @SignInWithCredential | ||
/// instead. |
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.
📝 Documentation issue: warning: Found unknown command '\SignInWithCredential'
|
||
/// @deprecated | ||
/// | ||
/// Get results of the most recent call to @ref ReauthenticateAndRetrieveData. |
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.
📝 Documentation issue: warning: unable to resolve reference to 'ReauthenticateAndRetrieveData' for \ref command
|
||
/// @deprecated This is a deprecated method. Please use | ||
/// @ref ReauthenticateWithProvider(FederatedAuthProvider*) instead. |
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.
📝 Documentation issue: warning: unable to resolve reference to 'ReauthenticateWithProvider(FederatedAuthProvider*)' for \ref command
|
||
/// @deprecated This is a deprecated method. Please use @ref Unlink(const |
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.
📝 Documentation issue: warning: unable to resolve reference to 'Unlink' for \ref command
|
||
/// @deprecated | ||
/// | ||
/// Get results of the most recent call to @ref Unlink. |
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.
📝 Documentation issue: warning: unable to resolve reference to 'Unlink' for \ref command
|
||
/// @deprecated This is a deprecated method. Please use | ||
/// @ref UpdatePhoneNumberCredential(const PhoneAuthCredential&) instead. |
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.
📝 Documentation issue: warning: unable to resolve reference to 'UpdatePhoneNumberCredential(const PhoneAuthCredential&)' for \ref command
Description
Feature branch, do not merge.
Testing
Type of Change
Place an
x
the applicable box:Notes
Release Notes
section ofrelease_build_files/readme.md
.