public async Task ReceiveAsync(AuthenticationTokenReceiveContext context) { var refreshToken = _refreshTokenRepository.Read().FirstOrDefault(e => e.TokenId == context.Token); if (refreshToken != null) { context.DeserializeTicket(refreshToken.ProtectedTicket); _refreshTokenRepository.Delete(refreshToken.Id); } }