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
)

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

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

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

Dolphin Technologies GmbH