Partager via


AuthorizationServiceCollectionExtensions.AddAuthorizationCore Méthode

Définition

Surcharges

AddAuthorizationCore(IServiceCollection)

Ajoute des services d’autorisation au spécifié IServiceCollection.

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Ajoute des services d’autorisation au spécifié IServiceCollection.

AddAuthorizationCore(IServiceCollection)

Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs

Ajoute des services d’autorisation au spécifié 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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

Retours

IServiceCollection à utiliser pour chaîner des appels supplémentaires.

S’applique à

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs

Ajoute des services d’autorisation au spécifié 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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

configure
Action<AuthorizationOptions>

Délégué d’action pour configurer le fourni AuthorizationOptions.

Retours

IServiceCollection à utiliser pour chaîner des appels supplémentaires.

S’applique à