setToken abstract method

Future<void> setToken(
  1. AuthToken token
)

set token

it can throw AuthStorageException on non-recoverable errors.

it will clear database on inconsistencies.

Implementation

Future<void> setToken(AuthToken token);