You can buy this project and download/modify it how often you want.
Files of the artifact user-manager-api version 10.1.5 from the group com.peterphi.user-manager.