MoveAuth
MOVE Models
The MoveAuth 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 / Android: Long
Unique identifier of the MOVE project. Can be obtained from the MOVE Dashboard.
Authentication Expiry
Since MOVE SDK v2.6.7, token refresh is handled automatically and internally by the SDK.
MoveAuth related
authStateUpdateListener()
Block to be invoked every time MOVE SDK MoveAuthState changes.
getAuthState()
Gets the current MoveAuthState.
Last updated