Compartir a través de


AuthorizationServiceCollectionExtensions.AddAuthorization Método

Definición

Sobrecargas

AddAuthorization(IServiceCollection)
AddAuthorization(IServiceCollection, Action<AuthorizationOptions>)

AddAuthorization(IServiceCollection)

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

Parámetros

Devoluciones

Se aplica a

AddAuthorization(IServiceCollection, Action<AuthorizationOptions>)

Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorization (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> configure);
static member AddAuthorization : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthorization (services As IServiceCollection, configure As Action(Of AuthorizationOptions)) As IServiceCollection

Parámetros

Devoluciones

Se aplica a