public virtual System.Threading.Tasks.Task RemoteFailure(Microsoft.AspNetCore.Authentication.RemoteFailureContext context) { throw null; }
// Handle sign-in errors differently than generic errors. private Task OnAuthenticationFailed(Microsoft.AspNetCore.Authentication.RemoteFailureContext context) { context.HandleResponse(); context.Response.Redirect("/Home/Error?message=" + context.Failure.Message); return(Task.FromResult(0)); }