updateAuth method

  1. @Deprecated("Shutdown SDK instead.")
Future<MoveAuthError?> updateAuth(
  1. MoveAuth moveAuth
)

Updates the user's provided Auth upon its expiry. Auth expiry triggers the SDK Auth State change listener.

Warning:

  • Only the user's token is expected to update. Changing any other user's auth param will fail with MoveAuthError.authInvalid. moveAuth must contain new valid authentication data. Returns an errror if failed.

Implementation

@Deprecated("Shutdown SDK instead.")
Future<MoveAuthError?> updateAuth(MoveAuth moveAuth) {
  throw UnimplementedError('platformVersion() has not been implemented.');
}