public async Task <(Guid token, DateTime until)> ExtendAuthenticationAsync(Guid token) { try { return(await _tokenHelper.ExtendTokenAsync(token)); } catch (Exception e) { _logger.WriteLog(LogLevel.Error, "An exception occurred in Authenticator.ExtendAuthenticationAsync", e.Message, e.StackTrace); throw; } }