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

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

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