1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #import "RLMUser_Private.h"
- #import "RLMSyncConfiguration.h"
- #import <realm/object-store/sync/sync_user.hpp>
- #import <realm/sync/config.hpp>
- @class RLMSyncConfiguration, RLMSyncSessionRefreshHandle, RLMApp;
- RLM_HEADER_AUDIT_BEGIN(nullability, sendability)
- class CocoaSyncUserContext : public realm::SyncUserContext {
- public:
- private:
-
- std::unordered_map<std::string, RLMSyncSessionRefreshHandle *> m_refresh_handles;
- std::mutex m_mutex;
- };
- @interface RLMUser ()
- - (instancetype)initWithUser:(std::shared_ptr<realm::SyncUser>)user app:(RLMApp *)app;
- - (std::string)pathForPartitionValue:(std::string const&)partitionValue;
- - (std::string)pathForFlexibleSync;
- - (std::shared_ptr<realm::SyncUser>)_syncUser;
- + (void)_setUpBindingContextFactory;
- @property (weak, readonly) RLMApp *app;
- @end
- @interface RLMUserProfile ()
- - (instancetype)initWithUserProfile:(realm::SyncUserProfile)userProfile;
- @end
- RLM_HEADER_AUDIT_END(nullability, sendability)
|