Implemented interface member:
method
AuthenticateAsync
Microsoft.AspNetCore.Authentication.IAuthenticationService.AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext, System.String)
4 references to AuthenticateAsync
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMetricsTest.cs (4)
30
await authenticationService.
AuthenticateAsync
(httpContext, scheme: "custom");
58
await authenticationService.
AuthenticateAsync
(httpContext, scheme: "custom");
86
await authenticationService.
AuthenticateAsync
(httpContext, scheme: "custom");
114
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => authenticationService.
AuthenticateAsync
(httpContext, scheme: "custom"));