Пример #1
0
 public SqlAuthenticator(
     FormsAuthenticator formsAuthenticator, 
     Func<IDatabaseUpgradeDetector> upgradeDetector, 
     Func<ISettingsProvider> settingsProvider, 
     ISession session)
 {
     this.formsAuthenticator = formsAuthenticator;
     this.upgradeDetector = upgradeDetector;
     this.settingsProvider = settingsProvider;
     this.session = session;
 }
Пример #2
0
 public SqlAuthenticator(
     FormsAuthenticator formsAuthenticator,
     Func <IDatabaseUpgradeDetector> upgradeDetector,
     Func <ISettingsProvider> settingsProvider,
     Func <ISession> sessionFactory)
 {
     this.formsAuthenticator = formsAuthenticator;
     this.upgradeDetector    = upgradeDetector;
     this.settingsProvider   = settingsProvider;
     this.sessionFactory     = sessionFactory;
 }
Пример #3
0
 public SqlClaimsAuthenticator(
     FormsAuthenticator formsAuthenticator,
     Func <IDatabaseUpgradeDetector> upgradeDetector,
     Func <ISettingsProvider> settingsProvider,
     Func <ISession> sessionFactory,
     IFederatedAuthenticationService federatedAuthenticationService)
 {
     this.formsAuthenticator             = formsAuthenticator;
     this.upgradeDetector                = upgradeDetector;
     this.settingsProvider               = settingsProvider;
     this.sessionFactory                 = sessionFactory;
     this.federatedAuthenticationService = federatedAuthenticationService;
 }
Пример #4
0
 public SqlClaimsAuthenticator(
     FormsAuthenticator formsAuthenticator,
     Func<IDatabaseUpgradeDetector> upgradeDetector,
     Func<ISettingsProvider> settingsProvider,
     Func<ISession> sessionFactory,
     IFederatedAuthenticationService federatedAuthenticationService)
 {
     this.formsAuthenticator = formsAuthenticator;
     this.upgradeDetector = upgradeDetector;
     this.settingsProvider = settingsProvider;
     this.sessionFactory = sessionFactory;
     this.federatedAuthenticationService = federatedAuthenticationService;
 }
 public SqlAuthenticationController(
     Func<ISession> sessionFactory,
     SqlFunnelWebMembership sqlMembership, 
     ISettingsProvider settingsProvider,
     SqlRoleProvider sqlRoleProvider, 
     FormsAuthenticator formsAuthenticator, 
     SqlAuthenticator sqlAuthenticator)
 {
     this.sessionFactory = sessionFactory;
     this.sqlMembership = sqlMembership;
     this.settingsProvider = settingsProvider;
     this.sqlRoleProvider = sqlRoleProvider;
     this.formsAuthenticator = formsAuthenticator;
     this.sqlAuthenticator = sqlAuthenticator;
     sqlAuthSettings = this.settingsProvider.GetSettings<SqlAuthSettings>();
 }