RLMUserIdentity
Objective-C
@interface RLMUserIdentity : NSObject
Swift
@_nonSendable(_assumed) class RLMUserIdentity : NSObject, @unchecked Sendable
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 (nonatomic, readonly) NSString *_Nonnull providerType;Swift
var providerType: String { get } -
The string which identifies the RLMUserIdentity
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull identifier;Swift
var identifier: String { get } -
Initialize an RLMUserIdentity for the given identifier and provider type.
Declaration
Objective-C
- (nonnull instancetype) initUserIdentityWithProviderType:(nonnull NSString *)providerType identifier:(nonnull NSString *)identifier;Swift
init(userIdentityWithProviderType providerType: String, identifier: String)Parameters
providerTypethe associated provider type
identifierthe identifier of the identity
View on GitHub
Install in Dash