Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Auth rewrite #1254

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

Draft
DellaBitta wants to merge 15 commits into main
base: main
Choose a base branch
Loading
from feature/auth_rewrite
Draft

Auth rewrite #1254

DellaBitta wants to merge 15 commits into main from feature/auth_rewrite

Conversation

Copy link
Contributor

@DellaBitta DellaBitta commented Apr 2, 2023

Description

Provide details of the change, and generalize the change in the PR title above.

Feature branch, do not merge.


Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

Notes

  • Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
  • Read the contribution guidelines CONTRIBUTING.md.
  • Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

DellaBitta and others added 15 commits March 10, 2023 11:15
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
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
///
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
///
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
///
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
Copy link

@github-actions github-actions bot Apr 2, 2023

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
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
Copy link

@github-actions github-actions bot Apr 2, 2023

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.
Copy link

@github-actions github-actions bot Apr 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@github-actions github-actions[bot] github-actions[bot] left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /