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