コード例 #1
0
        public AccountController(
            KullaniciYonetici userManager,
            SignInManager <Kullanici> signInManager,

            IEmailSender postaci,
            IOptions <UygulamaAyarlari> uygulamaAyarConfig
            )
        {
            this.userManager      = userManager;
            this.signInManager    = signInManager;
            this.postaci          = postaci;
            this.uygulamaAyarlari = uygulamaAyarConfig.Value;
        }
コード例 #2
0
 public AuthController(
     KullaniciYonetici userManager,
     SignInManager <Kullanici> signInManager,
     IEmailSender postaci,
     IJwtFactory jwtFactory,
     IOptions <JwtIssuerOptions> uygulamaAyarConfig
     )
 {
     this.userManager      = userManager;
     this.signInManager    = signInManager;
     this.postaci          = postaci;
     this.jwtFactory       = jwtFactory;
     this.uygulamaAyarlari = uygulamaAyarConfig.Value;
 }
コード例 #3
0
 public ExternalAuthController(IOptions <FacebookAuthSettings> fbAuthSettingsAccessor,
                               KullaniciYonetici userManager,
                               SignInManager <Kullanici> signInManager,
                               MTIdentityDbContext appDbContext,
                               IJwtFactory jwtFactory,
                               IOptions <JwtIssuerOptions> jwtOptions)
 {
     _fbAuthSettings    = fbAuthSettingsAccessor.Value;
     _userManager       = userManager;
     this.signInManager = signInManager;
     _appDbContext      = appDbContext;
     _jwtFactory        = jwtFactory;
     _jwtOptions        = jwtOptions.Value;
 }
コード例 #4
0
 public SorularController(ISoruStore soruStore, IUrlHelper urlHelper, KullaniciYonetici kullaniciYonetici)
 {
     this.soruStore         = soruStore;
     this.urlHelper         = urlHelper;
     this.kullaniciYonetici = kullaniciYonetici;
 }
コード例 #5
0
 public DersAnlatanHocalarController(IDersAnlatanHocaStore dahStore, KullaniciYonetici userManager)
 {
     this.dahStore    = dahStore;
     this.userManager = userManager;
 }