Ejemplo n.º 1
0
 public CFlixAuthInitializer(
     UserManager <CFlixUser> userManager,
     CFlixAuthContext context,
     ILoggerFactory loggerFactory,
     IOptions <CFlixConfiguration> conf)
 {
     _userManager = userManager;
     _context     = context;
     _conf        = conf.Value;
     _logger      = loggerFactory.CreateLogger <CFlixAuthInitializer>();
 }
Ejemplo n.º 2
0
 public ChallengeStageFilterImpl(IOptions <CFlixConfiguration> options,
                                 int minStage)
 {
     _options  = options.Value;
     _minStage = minStage;
 }
Ejemplo n.º 3
0
 public UseLdapAttributeImpl(IOptions <CFlixConfiguration> configuration, bool use)
 {
     _configuration = configuration.Value;
     _use           = use;
 }