MNFSyncAuthenticationChallenge

Objective-C

@interface MNFSyncAuthenticationChallenge : MNFObject

Swift

class MNFSyncAuthenticationChallenge : MNFObject

The MNFSyncAuthenticationChallenge represents information on an authentication challenge the user receives during synchronization.

A sync authentication challenge should not be directly initialized.

  • @abstract Whether realm authentication is done.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nonnull authenticationDone;

    Swift

    var authenticationDone: NSNumber { get }
  • @abstract Parameters the end user needs to enter.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<MNFSyncAuthRequiredParameter *> *_Nonnull requiredParameters;

    Swift

    var requiredParameters: [MNFSyncAuthRequiredParameter] { get }
  • @abstract Content type of the challenge. [‘0’,‘1’,‘2’,‘3’,‘4’].

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull contentType;

    Swift

    var contentType: String { get }
  • @abstract Text challenge to be displayed to the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull textChallenge;

    Swift

    var textChallenge: String { get }
  • @abstract Binary challenge to be displayed to the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull binaryChallenge;

    Swift

    var binaryChallenge: String { get }
  • @abstract An error message to be displayed to the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull errorMessage;

    Swift

    var errorMessage: String { get }
  • @abstract The code for the error message

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull errorMessageCode;

    Swift

    var errorMessageCode: String { get }
  • @abstract Identifier of the end user in the current realm’s namespace.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull userIdentifier;

    Swift

    var userIdentifier: String { get }
  • @abstract The realm user id.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nonnull realmUserId;

    Swift

    var realmUserId: NSNumber { get }
  • @abstract The email associated with the reaml user id.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull realmUserPersonEmail;

    Swift

    var realmUserPersonEmail: String { get }
  • @abstract Whether parameters can be saved by the system.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nonnull canSave;

    Swift

    var canSave: NSNumber { get }
  • @abstract Help content to display to the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull loginHelp;

    Swift

    var loginHelp: String { get }
  • @abstract The session token.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull sessionToken;

    Swift

    var sessionToken: String { get }