RLMUserIdentity
@interface RLMUserIdentity : NSObject
An identity of a user. A user can have multiple identities, usually associated with multiple providers.
Note this is different from a user’s unique identifier string.
@seeAlso RLMUser.identifier
-
The associated provider type
Declaration
Objective-C
@property (readonly, nonatomic) NSString *_Nonnull providerType;
-
The string which identifies the RLMUserIdentity
Declaration
Objective-C
@property (readonly, nonatomic) NSString *_Nonnull identifier;
-
Initialize an RLMUserIdentity for the given identifier and provider type.
Declaration
Objective-C
- (nonnull instancetype) initUserIdentityWithProviderType:(nonnull NSString *)providerType identifier:(nonnull NSString *)identifier;
Parameters
providerType
the associated provider type
identifier
the identifier of the identity