2 implementations of CreateContext
Microsoft.AspNetCore.Authorization (1)
DefaultAuthorizationHandlerContextFactory.cs (1)
24
public virtual AuthorizationHandlerContext
CreateContext
(IEnumerable<IAuthorizationRequirement> requirements, ClaimsPrincipal user, object? resource)
Microsoft.AspNetCore.Authorization.Test (1)
DefaultAuthorizationServiceTests.cs (1)
1093
public AuthorizationHandlerContext
CreateContext
(IEnumerable<IAuthorizationRequirement> requirements, ClaimsPrincipal user, object resource)
1 reference to CreateContext
Microsoft.AspNetCore.Authorization (1)
DefaultAuthorizationService.cs (1)
66
var authContext = _contextFactory.
CreateContext
(requirements, user, resource);