writeRefreshToken method

Future writeRefreshToken(
  1. String refreshToken
)
override

Implementation

Future writeRefreshToken(String refreshToken) async {
  if (refreshToken.isEmpty) {
    return;
  }

  return await AuthManager.storage
      .write(key: _KEY_REFRESH_TOKEN, value: refreshToken);
}