Exemplo n.º 1
0
 public AccountController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IHttpContextAccessor httpContextAccessor,
     IUserStore userStore,
     IResourceOwnerPasswordValidator passwordValidator,
     IIdentityPlayerManagementClient playerManagementClient,
     ILogger <AccountController> logger)
 {
     // if the TestUserStore is not in DI, then we'll just use the global users collection
     _userStore              = userStore;
     _passwordValidator      = passwordValidator;
     _interaction            = interaction;
     _account                = new AccountService(interaction, httpContextAccessor, clientStore);
     _playerManagementClient = playerManagementClient;
     _logger = logger;
 }
 public UserClaimsProvider(IIdentityPlayerManagementClient playerManagementClient)
 {
     _playerManagementClient = playerManagementClient;
 }