public Task ValidateLogin(FormsValidateLoginContext context)
 {
     return TaskAsyncHelper.Empty;
 }
        public Task ProcessLogin()
        {
            // I need to stuff the username nad password into the environment because
            // FormsValidateLoginContext doesn't store the constructor parameters
            // as properties.  Not sure if that's by design.

            var formsValidateLoginContext = new FormsValidateLoginContext(_environment, "Application", _environment["formsauthn.username"] as string, _environment["formsauthn.password"] as string);
            return _formsAuthenticationProvider.ValidateLogin(formsValidateLoginContext);
        }
 public virtual Task ValidateLogin(FormsValidateLoginContext context)
 {
     return(OnValidateLogin.Invoke(context));
 }
 public virtual Task ValidateLogin(FormsValidateLoginContext context)
 {
     return OnValidateLogin.Invoke(context);
 }