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

MoveAuth

MOVE Models

PreviousMoveAssistanceCallStatusNextMoveAuthError

Last updated 11 months ago

The object is used to validate the usage of the MOVE SDK and configure its services according to project specifications.

data class MoveAuth(
    var projectId: Long,
    var userId: String,
    var accessToken: String,
    var refreshToken: String
)
struct MoveAuth {
    var userToken: String
    var refreshToken: String
    var userID: String
    var projectID: Int
}
export type MoveSdkAuth = {
  userId: string;
  accessToken: string;
  refreshToken: string;
  projectId: number;
};
import 'package:movesdk/io/dolphin/move/move_auth.dart';
class MoveAuth {
  String projectId;
  String userId;
  String accessToken;
  String refreshToken;
}

MoveAuth

Type

accessToken

String

User's session-based access token.

refreshToken

String

User's session-based refresh token.

userID

String

Unique identifier of the user.

projectID

String

Authentication Expiry

The host app is expected to monitor updates viaauthStateUpdateListenerAPI and handle those changes accordingly.

Check for more details.

MoveAuth related

authStateUpdateListener()

getAuthState()

Unique identifier of the MOVE project. Can be obtained from the .

Block to be invoked every time MOVE SDK changes.

Gets the current .

MOVE Dashboard
MoveAuthState
MoveAuthState
MoveAuth
MoveAuthState
Authentication updates and expiry