File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
auth/src/include/firebase/auth Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -437,18 +437,25 @@ class User : public UserInfoInterface {
437
437
virtual std::string phone_number () const ;
438
438
439
439
private:
440
+ // / @cond FIREBASE_APP_INTERNAL
440
441
friend struct AuthData ;
441
442
// Only exists in AuthData. Access via @ref Auth::CurrentUser().
442
443
explicit User (AuthData* auth_data) : auth_data_(auth_data) {}
443
444
445
+ // Disable copy constructor.
446
+ User (const User&) = delete ;
447
+ // Disable copy operator.
448
+ User& operator =(const User&) = delete ;
449
+ // / @endcond
450
+
444
451
#if defined(INTERNAL_EXPERIMENTAL)
445
452
// Doxygen should not make docs for this function.
446
453
// / @cond FIREBASE_APP_INTERNAL
447
454
friend class IdTokenRefreshThread ;
448
455
friend class IdTokenRefreshListener ;
449
456
Future<std::string> GetTokenInternal (const bool force_refresh,
450
457
const int future_identifier);
451
- // / @endcon
458
+ // / @endcond
452
459
#endif // defined(INTERNAL_EXPERIMENTAL)
453
460
454
461
// Use the pimpl mechanism to hide data details in the cpp files.
You can’t perform that action at this time.
0 commit comments