MoveAuth

The MoveAuth object is used to validate the usage of the SDK and configure its services according to that product's specifications.

MoveAuth {
    productID: Long
    contractId: String
    accessToken: String
    refreshToken: String    
}

MoveAuth

userToken

String

User's session-based access token.

refreshToken

String

User's session-based refresh token.

contractID

String

User's contract id.

productID

String

Client's product id.

Authentication Expiry

The host app is expected to monitor MoveAuthState updates viaauthStateChangeListener(Android / iOS) API and handle those changes accordingly.

Check Authentication updates and expiry for more details.

MoveAuth related APIs

setAuthStateChangeListener() (Android / iOS)

Block to be invoked every time SDK MoveAuthState changes.

getAuthState()(Android / iOS)

Gets the current MoveAuthState.

Last updated