Example #1
0
 public ServerController(
     IAuthManager authManager,
     IServerManager serverManager,
     ISecureHasher secureHasher)
 {
     this.authManager   = authManager;
     this.serverManager = serverManager;
     this.secureHasher  = secureHasher;
 }
Example #2
0
 public AdminManager(
     IPlayerManager playerManager,
     IGameData gameData,
     ISecureHasher secureHasher)
 {
     this.playerManager = playerManager;
     this.gameData      = gameData;
     this.secureHasher  = secureHasher;
 }
Example #3
0
 public AuthManager(
     ILogger logger,
     IRavenfallDbContextProvider ctxProvider,
     ISecureHasher secureHash)
 {
     this.logger      = logger;
     this.ctxProvider = ctxProvider;
     this.secureHash  = secureHash;
 }
Example #4
0
 public AuthManager(
     IGameData gameData,
     ILogger <AuthManager> logger,
     ISecureHasher secureHash)
 {
     this.gameData   = gameData;
     this.logger     = logger;
     this.secureHash = secureHash;
 }
Example #5
0
 public AccountService(
     IGameData gameData,
     ISecureHasher hasher,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.gameData = gameData;
     this.hasher   = hasher;
 }
Example #6
0
 public GameController(
     IAuthManager authManager,
     ISessionManager sessionManager,
     IGameManager gameManager,
     ISecureHasher secureHasher)
 {
     this.authManager    = authManager;
     this.sessionManager = sessionManager;
     this.gameManager    = gameManager;
     this.secureHasher   = secureHasher;
 }
Example #7
0
 public VillageController(
     ILogger <VillageController> logger,
     IGameData gameData,
     IAuthManager authManager,
     ISessionInfoProvider sessionInfoProvider,
     ISessionManager sessionManager,
     IVillageManager villageManager,
     ISecureHasher secureHasher)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.villageManager = villageManager;
 }
 public SessionController(
     IGameData gameData,
     IAuthManager authManager,
     ISessionManager sessionManager,
     IGameManager gameManager,
     ISecureHasher secureHasher)
 {
     this.gameData       = gameData;
     this.authManager    = authManager;
     this.sessionManager = sessionManager;
     this.gameManager    = gameManager;
     this.secureHasher   = secureHasher;
 }
 public MarketplaceController(
     ILogger <MarketplaceController> logger,
     IGameData gameData,
     IAuthManager authManager,
     ISessionManager sessionManager,
     ISessionInfoProvider sessionInfoProvider,
     IMarketplaceManager marketplace,
     ISecureHasher secureHasher)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.authManager         = authManager;
     this.marketplace         = marketplace;
     this.sessionManager      = sessionManager;
     this.sessionInfoProvider = sessionInfoProvider;
 }
Example #10
0
 public GameApiController(
     ILogger logger,
     IGameData gameData,
     IAuthManager authManager,
     ISessionInfoProvider sessionInfoProvider,
     ISessionManager sessionManager,
     ISecureHasher secureHasher)
 {
     this.logger              = logger;
     this.gameData            = gameData;
     this.authManager         = authManager;
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.secureHasher        = secureHasher;
 }
Example #11
0
 public SessionController(
     ILogger <SessionController> logger,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IAuthManager authManager,
     ISessionManager sessionManager,
     IGameManager gameManager,
     ISecureHasher secureHasher)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.gameData       = gameData;
     this.authManager    = authManager;
     this.sessionManager = sessionManager;
     this.gameManager    = gameManager;
     this.secureHasher   = secureHasher;
 }
Example #12
0
 public AdminManager(
     ILogger <AdminManager> logger,
     IPlayerInventoryProvider inventoryProvider,
     IEntityResolver itemResolver,
     IPlayerManager playerManager,
     IGameData gameData,
     ISessionManager sessionManager,
     ISecureHasher secureHasher)
 {
     this.logger            = logger;
     this.inventoryProvider = inventoryProvider;
     this.itemResolver      = itemResolver;
     this.playerManager     = playerManager;
     this.gameData          = gameData;
     this.sessionManager    = sessionManager;
     this.secureHasher      = secureHasher;
 }
Example #13
0
 public PlayersController(
     ISessionInfoProvider sessionInfoProvider,
     ISessionManager sessionManager,
     IPlayerManager playerManager,
     IRavenfallDbContextProvider dbProvider,
     ISecureHasher secureHasher,
     IAuthManager authManager,
     IOptions <AppSettings> settings)
 {
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.playerManager       = playerManager;
     this.dbProvider          = dbProvider;
     this.secureHasher        = secureHasher;
     this.authManager         = authManager;
     this.settings            = settings;
 }
Example #14
0
 public PlayersController(
     ILogger <PlayersController> logger,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IPlayerInventoryProvider inventoryProvider,
     ISessionManager sessionManager,
     IPlayerManager playerManager,
     IRavenfallDbContextProvider dbProvider,
     ISecureHasher secureHasher,
     IAuthManager authManager,
     IOptions <AppSettings> settings)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.playerManager       = playerManager;
     this.dbProvider          = dbProvider;
     this.secureHasher        = secureHasher;
     this.authManager         = authManager;
     this.settings            = settings;
 }
Example #15
0
 public PatreonController(
     ILogger <PatreonController> logger,
     ISessionInfoProvider sessionInfoProvider,
     IPlayerInventoryProvider inventoryProvider,
     ISessionManager sessionManager,
     IPlayerManager playerManager,
     IRavenfallDbContextProvider dbProvider,
     ISecureHasher secureHasher,
     IAuthManager authManager,
     IPatreonManager patreonManager,
     IOptions <AppSettings> settings)
 {
     this.logger = logger;
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.playerManager       = playerManager;
     this.dbProvider          = dbProvider;
     this.secureHasher        = secureHasher;
     this.authManager         = authManager;
     this.patreonManager      = patreonManager;
     this.settings            = settings.Value;
 }
 public SecureHashAwareSecretVerifier(IPackedHashConverter packedHashConverter, ISecureHasher secureHasher)
 {
     _packedHashConverter = packedHashConverter;
     _secureHasher        = secureHasher;
 }
 public SecurePackedHashProvider(IPackedHashConverter packedHashConverter, ISecureHasher secureHasher)
 {
     _packedHashConverter = packedHashConverter;
     _secureHasher        = secureHasher;
 }