AuthorizationServiceCollectionExtensions.AddAuthorizationCore Método

Definição

Sobrecargas

AddAuthorizationCore(IServiceCollection)

Adiciona serviços de autorização ao especificado IServiceCollection.

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Adiciona serviços de autorização ao especificado IServiceCollection.

AddAuthorizationCore(IServiceCollection)

Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs

Adiciona serviços de autorização ao especificado IServiceCollection.

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

Parâmetros

services
IServiceCollection

O IServiceCollection ao qual adicionar serviços.

Retornos

O IServiceCollection para que chamadas adicionais possam ser encadeadas.

Aplica-se a

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs
Origem:
AuthorizationServiceCollectionExtensions.cs

Adiciona serviços de autorização ao especificado IServiceCollection.

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

Parâmetros

services
IServiceCollection

O IServiceCollection ao qual adicionar serviços.

configure
Action<AuthorizationOptions>

Um delegado de ação para configurar o fornecido AuthorizationOptions.

Retornos

O IServiceCollection para que chamadas adicionais possam ser encadeadas.

Aplica-se a