PolicyServiceCollectionExtensions.AddAuthorizationPolicyEvaluator(IServiceCollection) PolicyServiceCollectionExtensions.AddAuthorizationPolicyEvaluator(IServiceCollection) PolicyServiceCollectionExtensions.AddAuthorizationPolicyEvaluator(IServiceCollection) Method

Definition

Adds authorization policy services to the specified IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorizationPolicyEvaluator (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddAuthorizationPolicyEvaluator : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthorizationPolicyEvaluator (services As IServiceCollection) As IServiceCollection

Parameters

Returns

The IServiceCollection so that additional calls can be chained.

Applies to