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