RLMSyncUserIdentity

@interface RLMSyncUserIdentity : NSObject

An identity of a user. A user can have multiple identities, usually associated with multiple providers.

  • The associated provider type of the identity

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull providerType;
  • The id of the identity

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull identity;
  • Initialize a sync user for the given identity and provider type.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initSyncUserIdentityWithProviderType:(nonnull NSString *)providerType
                                    identity:(nonnull NSString *)identity;

    Parameters

    providerType

    the provider type of the user

    identity

    the identity of the user