RLMSyncAuthError
enum RLMSyncAuthError {}
An error which is related to authentication to a Realm Object Server.
-
An error that indicates that the response received from the authentication server was malformed.
Declaration
Objective-C
RLMSyncAuthErrorBadResponse = 1
Swift
case badResponse = 1
-
An error that indicates that the supplied Realm path was invalid, or could not be resolved by the authentication server.
Declaration
Objective-C
RLMSyncAuthErrorBadRemoteRealmPath = 2
Swift
case badRemoteRealmPath = 2
-
An error that indicates that the response received from the authentication server was an HTTP error code. The
userInfo
dictionary contains the actual error code value.Declaration
Objective-C
RLMSyncAuthErrorHTTPStatusCodeError = 3
Swift
case httpStatusCodeError = 3
-
An error that indicates a problem with the session (a specific Realm opened for sync).
Declaration
Objective-C
RLMSyncAuthErrorClientSessionError = 4
Swift
case clientSessionError = 4
-
An error that indicates that the provided credentials are ill-formed.
Declaration
Objective-C
RLMSyncAuthErrorInvalidParameters = 601
Swift
case invalidParameters = 601
-
An error that indicates that no Realm path was included in the URL.
Declaration
Objective-C
RLMSyncAuthErrorMissingPath = 602
Swift
case missingPath = 602
-
An error that indicates that the provided credentials are invalid.
Declaration
Objective-C
RLMSyncAuthErrorInvalidCredential = 611
Swift
case invalidCredential = 611
-
An error that indicates that the user with provided credentials does not exist.
Declaration
Objective-C
RLMSyncAuthErrorUserDoesNotExist = 612
Swift
case userDoesNotExist = 612
-
An error that indicates that the user cannot be registered as it exists already.
Declaration
Objective-C
RLMSyncAuthErrorUserAlreadyExists = 613
Swift
case userAlreadyExists = 613
-
An error that indicates the path is invalid or the user doesn’t have access to that Realm.
Declaration
Objective-C
RLMSyncAuthErrorAccessDeniedOrInvalidPath = 614
Swift
case accessDeniedOrInvalidPath = 614
-
An error that indicates the refresh token was invalid.
Declaration
Objective-C
RLMSyncAuthErrorInvalidAccessToken = 615
Swift
case invalidAccessToken = 615
-
An error that indicates the permission offer is expired.
Declaration
Objective-C
RLMSyncAuthErrorExpiredPermissionOffer = 701
Swift
case expiredPermissionOffer = 701
-
An error that indicates the permission offer is ambiguous.
Declaration
Objective-C
RLMSyncAuthErrorAmbiguousPermissionOffer = 702
Swift
case ambiguousPermissionOffer = 702
-
An error that indicates the file at the given path can’t be shared.
Declaration
Objective-C
RLMSyncAuthErrorFileCannotBeShared = 703
Swift
case fileCannotBeShared = 703