Esempio n. 1
0
        public TwoFactorContextCommand(TwoFactorContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

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

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