Dolphin MOVE SDK
2.x
2.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
        • Access Control
        • Configuration
        • Timeline
        • Points of Interest
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
        • Troubleshooting
      • React Native
      • Flutter
      • Move SDK CLI
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Setup
        • Services
      • React Native
        • Components
        • Initialization
        • Services
      • Flutter
        • Initialization
        • Services
    • Models
      • Listeners/Callbacks
      • MoveAssistanceCallStatus
      • MoveAuth
      • MoveAuthError
      • MoveAuthResult
      • MoveAuthState
      • MoveConfig
      • MoveConfigurationError
      • MoveDevice
      • MoveDeviceStatus
      • MoveGeocodeError
      • MoveHealthItem
      • MoveHealthScore
      • MoveOptions
        • DeviceDiscovery
      • MoveSdkState
      • MoveSdkAndroidConfig
      • MoveTripState
      • MoveScanResult
      • MoveServiceFailure
      • MoveServiceWarning
      • MoveShutdownResult
    • Appendix
      • Token refresh
      • Android
        • Permission Handling
          • Permission Overview
          • Runtime Permissions
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
      • React Native
        • Permission Handling
  • MOVE Backend
    • MOVE Backend
      • MOVE Admin API
      • MOVE TIMELINE API
      • MOVE State API
      • MOVE Last Location API
    • MOVE Generic Notifier
    • MOVE Assistance Notifier
    • Example requests
  • FAQ
  • Changelog
    • Android
    • iOS
    • React
    • Flutter
    • Backend
  • Data privacy (GDPR)
Powered by GitBook
On this page
  1. MOVE SDK
  2. Models

MoveAuthResult

MOVE Models

data class MoveAuthResult(
    val status: AuthSetupStatus,
    val description: String,
)

enum class AuthSetupStatus {
    SUCCESS,
    INVALID_CODE,
    NETWORK_ERROR;
}
enum MoveAuthResult {
    case success
    case networkError(String)
    case invalidCode(String)
}
enum AuthSetupStatus {
  success,
  networkError,
  invalidCode,
}

class MoveAuthResult {
  AuthSetupStatus status;
  String description;
}

MoveAuthResult

status

see MoveAuthStatus

description

A slightly more descriptive description of the success / error.

MoveAuthStatus

success

Code was accepted by the backend. Authentication is valid.

invalid_code

Authentication is invalid.

e.g. Code is empty, invalid or expired

network_error

A network error was triggered. e.g. Client error, Server exception, timeout, ...

PreviousMoveAuthErrorNextMoveAuthState

Last updated 9 months ago