RLMSyncPermissionOffer

@interface RLMSyncPermissionOffer : NSObject

A pending offer to grant permissions on a Realm path.

This type is immutable and can be safely read from any thread.

See

-[RLMSyncUser retrievePermissionOffersWithCallback:]
  • The Realm Object Server path to the Realm to which this permission applies (e.g. /path/to/realm).

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull realmPath;
  • The token which can be used to aceept or revoke this offer.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull token;
  • The date when this offer will expire, or nil for a non-expiring offer.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDate *expiresAt;
  • The date when this offer was created.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDate *createdAt;
  • The access level which this offer grants.

    Declaration

    Objective-C

    @property (readonly, nonatomic) RLMSyncAccessLevel accessLevel;