RLMUserAPIKey

Objective-C

@interface RLMUserAPIKey : NSObject

Swift

class RLMUserAPIKey : NSObject

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 user

    Declaration

    Objective-C

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

    Swift

    var objectId: RLMObjectId { get }