4 implementations of ChallengeAsync
Microsoft.AspNetCore.Authentication.Core (1)
Microsoft.AspNetCore.Authorization.Test (3)
15 references to ChallengeAsync
Microsoft.AspNetCore.Authentication.Abstractions (4)
Microsoft.AspNetCore.Authentication.Core (2)
Microsoft.AspNetCore.Authorization.Test (5)
AuthorizationMiddlewareResultHandlerTests.cs (5)
74authenticationServiceMock.Verify(service => service.ChallengeAsync(httpContext, It.IsAny<string>(), null), Times.Exactly(3));
75authenticationServiceMock.Verify(service => service.ChallengeAsync(httpContext, firstScheme, null), Times.Once);
76authenticationServiceMock.Verify(service => service.ChallengeAsync(httpContext, secondScheme, null), Times.Once);
77authenticationServiceMock.Verify(service => service.ChallengeAsync(httpContext, thirdScheme, null), Times.Once);
92authenticationServiceMock.Verify(service => service.ChallengeAsync(httpContext, null, null), Times.Once);
Microsoft.AspNetCore.Http.Results.Tests (2)
Microsoft.AspNetCore.Mvc.Core.Test (2)