connect
Validates a remote connection by fetching an access token and querying the terminal. Updates getState accordingly and throws if the terminal cannot be reached.
Validates a remote connection by fetching an access token and querying the terminal. Updates getState accordingly and throws if the terminal cannot be reached.