16 references to CombineAsync
Microsoft.AspNetCore.Authorization (2)
AuthorizationBuilder.cs (1)
53/// Sets the fallback authorization policy used by <see cref="AuthorizationPolicy.CombineAsync(IAuthorizationPolicyProvider, IEnumerable{IAuthorizeData})"/>
AuthorizationOptions.cs (1)
35/// Gets or sets the fallback authorization policy used by <see cref="AuthorizationPolicy.CombineAsync(IAuthorizationPolicyProvider, IEnumerable{IAuthorizeData})"/>
Microsoft.AspNetCore.Authorization.Test (7)
AuthorizationPolicyFacts.cs (6)
34var combined = await AuthorizationPolicy.CombineAsync(provider, attributes); 84var combined = await AuthorizationPolicy.CombineAsync(provider, attributes); 106var combined = await AuthorizationPolicy.CombineAsync(provider, attributes); 128var combined = await AuthorizationPolicy.CombineAsync(provider, attributes); 148var combined = await AuthorizationPolicy.CombineAsync(provider, attributes); 167var combined = await AuthorizationPolicy.CombineAsync(provider, attributes);
DefaultAuthorizationServiceTests.cs (1)
30await Assert.ThrowsAsync<InvalidOperationException>(() => AuthorizationPolicy.CombineAsync(provider, new AuthorizeAttribute[] {
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeViewCore.cs (1)
110var policy = await AuthorizationPolicy.CombineAsync(
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\AuthorizationApplicationModelProvider.cs (1)
76var policy = AuthorizationPolicy.CombineAsync(policyProvider, authData).GetAwaiter().GetResult()!;
Authorization\AuthorizeFilter.cs (3)
94/// <see cref="AuthorizationPolicy.CombineAsync(IAuthorizationPolicyProvider, IEnumerable{IAuthorizeData})"/>. 116return (await AuthorizationPolicy.CombineAsync(PolicyProvider, AuthorizeData!))!; 148var endpointPolicy = await AuthorizationPolicy.CombineAsync(policyProvider, endpointAuthorizeData);
Microsoft.AspNetCore.Security.Microbenchmarks (1)
AuthorizationPolicyBenchmark.cs (1)
23return AuthorizationPolicy.CombineAsync(_policyProvider, Array.Empty<IAuthorizeData>());
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
681var authorizePolicy = await AuthorizationPolicy.CombineAsync(policyProvider, policies);