RLMUserAPIKey

Objective-C


@interface RLMUserAPIKey : NSObject

Swift

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

UserAPIKey model for APIKeys recevied from the server.

  • Indicates if the API key is disabled or not

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL disabled;

    Swift

    var disabled: Bool { get }
  • The name of the key.

    Declaration

    Objective-C

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

    Swift

    var name: String { get }
  • key

    The actual key. Will only be included in the response when an API key is first created.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *key;

    Swift

    var key: String? { get }
  • The ObjectId of the API key

    Declaration

    Objective-C

    @property (nonatomic, readonly) NS_REFINED_FOR_SWIFT RLMObjectId *objectId;