Esempio n. 1
0
 public ConsentController(
     ILogger<ConsentController> logger,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IScopeStore scopeStore)
 {
     _logger = logger;
     _interaction = interaction;
     _clientStore = clientStore;
     _scopeStore = scopeStore;
 }
Esempio n. 2
0
 public AccountController(
     IIdentityServerInteractionService interaction,
     UserManager<ApplicationUser> userManager,
     SignInManager<ApplicationUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory)
 {
     _interaction = interaction;
     _userManager = userManager;
     _signInManager = signInManager;
     _emailSender = emailSender;
     _smsSender = smsSender;
     _logger = loggerFactory.CreateLogger<AccountController>();
 }
 public ConsentController(
     ILogger<ConsentController> logger,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IScopeStore scopeStore,
     IIdentityServerIntegration identityServerIntegration,
     SiteContext currentSite
     )
 {
     _logger = logger;
     _interaction = interaction;
     _clientStore = clientStore;
     _scopeStore = scopeStore;
     _site = currentSite;
     this.identityServerIntegration = identityServerIntegration;
 }
 public AccountController(
     UserManager<ApplicationUser> userManager,
     IPersistedGrantService persistedGrantService,
     SignInManager<ApplicationUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore)
 {
     _userManager = userManager;
     _persistedGrantService = persistedGrantService;
     _signInManager = signInManager;
     _emailSender = emailSender;
     _smsSender = smsSender;
     _logger = loggerFactory.CreateLogger<AccountController>();
     _interaction = interaction;
     _clientStore = clientStore;
 }
Esempio n. 5
0
 public HomeController(IIdentityServerInteractionService interaction)
 {
     _interaction = interaction;
 }
Esempio n. 6
0
        public AccountController(SignInManager <User> signInManager, UserManager <User> userManager, IIdentityServerInteractionService interaction,
                                 IHttpContextAccessor httpContextAccessor, IClientStore clientStore, IPasswordResetSender resetPwdSender, ILogger <AccountController> logger)
        {
            if (signInManager == null || userManager == null || interaction == null || httpContextAccessor == null ||
                resetPwdSender == null || logger == null)
            {
                throw new ArgumentNullException();
            }
            Contract.EndContractBlock();

            _signInManager  = signInManager;
            _userManager    = userManager;
            _resetPwdSender = resetPwdSender;
            _account        = new AccountService(interaction, httpContextAccessor);
            _logger         = logger;
        }
 public LogoutModel(SignInManager <User> signInManager, ILogger <LogoutModel> logger, IIdentityServerInteractionService interaction)
 {
     _signInManager = signInManager;
     _logger        = logger;
     _interaction   = interaction;
 }
 public LoginModel(IIdentityServerInteractionService interaction)
 {
     _interaction = interaction;
 }
Esempio n. 9
0
 public HomeController(IIdentityServerInteractionService interaction, IWebHostEnvironment environment, AppSettings appSettings)
 {
     this.interaction = interaction;
     this.environment = environment;
     this.appSettings = appSettings;
 }
Esempio n. 10
0
        //public AccountController(TestUserStore users)
        //{
        //    _users = users;
        //}

        public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IIdentityServerInteractionService interaction)
        {
            _userManager   = userManager;
            _signInManager = signInManager;
            _interaction   = interaction;
        }
Esempio n. 11
0
 public AccountController(IIdentityServerInteractionService interaction,
                          IAuthenticationSchemeProvider authenticationSchemeProvider)
 {
     _interaction = interaction;
     _authenticationSchemeProvider = authenticationSchemeProvider;
 }
Esempio n. 12
0
 public ErrorModel(IIdentityServerInteractionService interaction)
 {
     _interaction = interaction;
 }
 public Challenge(IIdentityServerInteractionService interactionService)
 {
     _interactionService = interactionService;
 }
 public HomeController(IIdentityServerInteractionService interaction, IHostingEnvironment environment, IClientStore clientStore)
 {
     _interaction = interaction;
     _environment = environment;
     _clientStore = clientStore;
 }
Esempio n. 15
0
 public AccountController(IIdentityServerInteractionService interaction, IClientStore clientStore)
 {
     _interaction = interaction;
     _clientStore = clientStore;
 }
Esempio n. 16
0
 public LogoutController(IClientStore clients, IIdentityServerInteractionService interaction, IOptions <AppSettings> appSettings)
 {
     _appSettings = appSettings.Value;
     _clients     = clients;
     _interaction = interaction;
 }
Esempio n. 17
0
 public AccountController(TestUserStore users, IIdentityServerInteractionService interaction)
 {
     this._users       = users;
     this._interaction = interaction;
 }
 public AccountController(SignInManager <AppUser> signInManager, UserManager <AppUser> userManager, IIdentityServerInteractionService interaction, IAuthenticationSchemeProvider schemeProvider, IClientStore clientStore, IEventService events)
 {
     _userManager    = userManager;
     _interaction    = interaction;
     _schemeProvider = schemeProvider;
     _clientStore    = clientStore;
     _events         = events;
     _signInManager  = signInManager;
 }
 public HomeController(IIdentityServerInteractionService identity)
 {
     this.identity = identity;
 }
Esempio n. 20
0
 public HomeController(IIdentityServerInteractionService interaction, ILogger <HomeController> logger)
 {
     _interaction = interaction;
     _logger      = logger;
 }
Esempio n. 21
0
 public HomeController(IIdentityServerInteractionService interaction, IOptionsSnapshot <AppSettings> settings, IRedirectService redirectSvc)
 {
     _interaction = interaction;
     _settings    = settings;
     _redirectSvc = redirectSvc;
 }
Esempio n. 22
0
 // 显示依赖注入
 public ConsentService(IClientStore clientStore, IResourceStore resourceStore, IIdentityServerInteractionService identityServerInteractionService)
 {
     _clientStore   = clientStore;
     _resourceStore = resourceStore;
     _identityServerInteractionService = identityServerInteractionService;
 }
 public GetLoginViewModelHandler(IIdentityServerInteractionService interaction)
 {
     _interaction = interaction;
 }
Esempio n. 24
0
 //public AccountController(TestUserStore testUserStore)
 //{
 //    this._user = testUserStore;
 //}
 public AccountController(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IIdentityServerInteractionService interactionService)
 {
     this.signInManager      = signInManager;
     this.userManager        = userManager;
     this.interactionService = interactionService;
 }
 public IdentityServerSupportedLogoutModel(IIdentityServerInteractionService interaction)
 {
     Interaction = interaction;
 }
Esempio n. 26
0
 public UserController(IUserService userService, AppSettings appSettings, UserInteractionOptions interactionOptions, IValidationComponent validationComponent, IExternalClient externalClient, IIdentityServerInteractionService interaction, IExternalUserCacheStrategy externalUserService, Domain.Options.Endpoints endpoints, IMessageStore <ErrorMessage> errorMessageStore)
 {
     _userService         = userService;
     _appSettings         = appSettings;
     _interactionOptions  = interactionOptions;
     _validationComponent = validationComponent;
     _externalClient      = externalClient;
     _interaction         = interaction;
     _externalUserService = externalUserService;
     _endpoints           = endpoints;
     _errorMessageStore   = errorMessageStore;
 }
Esempio n. 27
0
 public LogoutModel(IIdentityServerInteractionService interaction, SignInManager <ApplicationUser> signInManager, IEventService events)
 {
     _interaction   = interaction;
     _signInManager = signInManager;
     _events        = events;
 }
 public HomeController(IIdentityServerInteractionService interaction, IHostingEnvironment environment, UserManager <ApplicationUser> userManager)
 {
     _interaction = interaction;
     _environment = environment;
     _userManager = userManager;
 }
Esempio n. 29
0
 public HomeController(IIdentityServerInteractionService interaction, IWebHostEnvironment environment)
 {
     _interaction = interaction;
     _environment = environment;
 }
Esempio n. 30
0
 public LogoutModel(IIdentityServerInteractionService interactionService)
 {
     this.interactionService = interactionService;
 }
 public LoggedOut(IIdentityServerInteractionService interactionService)
 {
     _interactionService = interactionService;
 }
Esempio n. 32
0
 public HomeController(IIdentityServerInteractionService interaction)
 {
     _interaction = interaction;
 }
Esempio n. 33
0
 public HomeController(IIdentityServerInteractionService interaction, IWebHostEnvironment environment, ILogger <HomeController> logger)
 {
     _interaction = interaction;
     _environment = environment;
     _logger      = logger;
 }
Esempio n. 34
0
 public AccountController(IIdentityServerInteractionService interaction,
                          IEventService events)
 {
     _interaction = interaction;
     _events      = events;
 }
Esempio n. 35
0
 public AuthController(SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager, IIdentityServerInteractionService identityServerInteractionService)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _identityServerInteractionService = identityServerInteractionService;
 }
 public CloudscribeIntegration(
     IIdentityServerInteractionService interaction
     )
 {
     _interaction = interaction;
 }