Exemple #1
0
        public TwoFactorContextCommand(TwoFactorContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            _context = context;
        }
Exemple #2
0
        public TwoFactorContextReader(TwoFactorContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("Context");
            }

            _context = context;
        }
Exemple #3
0
 public SaveSecretForUserCommand(TwoFactorContext context)
     : base(context)
 {
 }
Exemple #4
0
 public OneTimeSecretReader(TwoFactorContext context)
     : base(context)
 {
     _viewModel = from o in context.OneTimeSecrets
                  select o;
 }