public AccountController(
            IIdentityServerInteractionService interaction,
            IClientStore clientStore,
            IAuthenticationSchemeProvider schemeProvider,
            IEventService events,
            IIDPUserRepository iDPUserRepository)
        {
            // if the TestUserStore is not in DI, then we'll just use the global users collection
            _IIDPUserRepository = iDPUserRepository;
            // this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
            // _users = users ?? new TestUserStore(TestUsers.Users);

            _interaction    = interaction;
            _clientStore    = clientStore;
            _schemeProvider = schemeProvider;
            _events         = events;
        }
Пример #2
0
        public ExternalController(
            IIdentityServerInteractionService interaction,
            IClientStore clientStore,
            IEventService events,
            ILogger <ExternalController> logger,
            IIDPUserRepository iDPUserRepository
            /*TestUserStore users = null*/)
        {
            // if the TestUserStore is not in DI, then we'll just use the global users collection
            _IDPUserRepository = iDPUserRepository;
            // this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
            // _users = users ?? new TestUserStore(TestUsers.Users);

            _interaction = interaction;
            _clientStore = clientStore;
            _logger      = logger;
            _events      = events;
        }
Пример #3
0
 public IDPUserProfileService(IIDPUserRepository iDPUserRepository)
 {
     _iDpUserRepository = iDPUserRepository;
 }
Пример #4
0
 public UserRegisterationController(IIDPUserRepository iDPUserRepository,
                                    IIdentityServerInteractionService interaction)
 {
     _IDPUserRepository = iDPUserRepository;
     _interaction       = interaction;
 }