Compartir a través de


PolicyServiceCollectionExtensions.AddAuthorizationBuilder Método

Definición

Agrega servicios de autorización al especificado IServiceCollection.

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

Parámetros

services
IServiceCollection

La interfaz IServiceCollection a la que se van a agregar los servicios.

Devoluciones

La interfaz AuthorizationBuilder para que se puedan encadenar llamadas adicionales.

Se aplica a