1 write to Exception
Microsoft.AspNetCore.Authentication.Negotiate (1)
NegotiateHandler.cs (1)
269var errorContext = new AuthenticationFailedContext(Context, Scheme, Options) { Exception = ex };
8 references to Exception
Microsoft.AspNetCore.Authentication.Negotiate.Test (8)
EventTests.cs (8)
80Assert.IsType<InvalidOperationException>(context.Exception); 81Assert.Equal("InvalidBlob", context.Exception.Message); 128Assert.IsType<Exception>(context.Exception); 129Assert.Equal("A test other error occurred", context.Exception.Message); 179Assert.IsType<Exception>(context.Exception); 180Assert.Equal("A test credential error occurred", context.Exception.Message); 229Assert.IsType<Exception>(context.Exception); 230Assert.Equal("A test client error occurred", context.Exception.Message);