1 write to AuthenticationSchemes
Microsoft.AspNetCore.Http.Results (1)
ForbidHttpResult.cs (1)
66AuthenticationSchemes = authenticationSchemes.AsReadOnly();
7 references to AuthenticationSchemes
Microsoft.AspNetCore.Http.Results (5)
ForbidHttpResult.cs (5)
89Log.ForbidResultExecuting(logger, AuthenticationSchemes); 91if (AuthenticationSchemes != null && AuthenticationSchemes.Count > 0) 93for (var i = 0; i < AuthenticationSchemes.Count; i++) 95await httpContext.ForbidAsync(AuthenticationSchemes[i], Properties);
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (1)
398Assert.Equal(authenticationSchemes ?? new ReadOnlyCollection<string>(new List<string>()), result.AuthenticationSchemes);
TypedResultsTests.cs (1)
446Assert.Equal(authenticationSchemes ?? new ReadOnlyCollection<string>(new List<string>()), result.AuthenticationSchemes);