initialize method

Future<void> initialize()

Initialize: restore tokens from secure storage to memory cache

Implementation

Future<void> initialize() async {
  _cachedAccessToken = await CkStorage.read(CkAuthStorageKeys.accessTokenKey);
  _cachedRefreshToken = await CkStorage.read(
    CkAuthStorageKeys.refreshTokenKey,
  );
}