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.
Authentication Expiry
The host app is expected to monitor MoveAuthState updates viaauthStateUpdateListenerAPI and handle those changes accordingly.
Check Authentication updates and expiry for more details.
MoveAuth related
authStateUpdateListener()
Block to be invoked every time MOVE SDK MoveAuthState changes.
getAuthState()
Gets the current MoveAuthState.
Last updated