RL 사용자 ID

Objective-C


@interface RLMUserIdentity : NSObject

스위프트

@_nonSendable(_assumed) class RLMUserIdentity : NSObject, @unchecked Sendable

사용자의 ID입니다. 사용자는 일반적으로 여러 제공자와 연결된 여러 ID를 가질 수 있습니다. 이는 사용자의 고유 식별자 문자열과 다릅니다. @ seeAlso RLMUser.identifier

  • 연결된 제공자 유형

    선언

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull providerType;

    스위프트

    var providerType: String { get }
  • RLMUserIdentity를 식별하는 문자열

    선언

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull identifier;

    스위프트

    var identifier: String { get }
  • 지정된 식별자 및 제공자 유형에 대한 RLMUserIdentity를 초기화합니다.

    선언

    Objective-C

    - (nonnull instancetype)
        initUserIdentityWithProviderType:(nonnull NSString *)providerType
                              identifier:(nonnull NSString *)identifier;

    스위프트

    init(userIdentityWithProviderType providerType: String, identifier: String)

    매개변수

    providerType

    연결된 제공자 유형

    identifier

    ID의 식별자