Ejemplo n.º 1
0
        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
            // this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
            _idpUserRepository = idpUserRepository;

            _interaction    = interaction;
            _clientStore    = clientStore;
            _schemeProvider = schemeProvider;
            _events         = events;
        }
Ejemplo n.º 2
0
 public IdpUserProfileService(IIdpUserRepository idpUserRepository)
 {
     _idpUserRepository = idpUserRepository;
 }
Ejemplo n.º 3
0
 public UserRegistrationController(IIdpUserRepository idpUserRepository,
                                   IIdentityServerInteractionService interactionService)
 {
     _idpUserRepository  = idpUserRepository;
     _interactionService = interactionService;
 }