public AuthorizationManager( IConfiguration configuration, MongoDataAccess dataAccess, RNGCryptoServiceProvider secureRandom, Random random) { _users = dataAccess.GetUserRepository(); _configuration = configuration; _secureRandom = secureRandom; _random = random; }