AuthorizationServiceCollectionExtensions.AddAuthorizationCore Metodo

Definizione

Overload

AddAuthorizationCore(IServiceCollection)

Aggiunge i servizi di autorizzazione all'oggetto specificato IServiceCollection.

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Aggiunge i servizi di autorizzazione all'oggetto specificato IServiceCollection.

AddAuthorizationCore(IServiceCollection)

Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs

Aggiunge i servizi di autorizzazione all'oggetto specificato 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

Parametri

services
IServiceCollection

Oggetto IServiceCollection in cui aggiungere i servizi.

Restituisce

Oggetto IServiceCollection che consente il concatenamento di chiamate aggiuntive.

Si applica a

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs
Origine:
AuthorizationServiceCollectionExtensions.cs

Aggiunge i servizi di autorizzazione all'oggetto specificato 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

Parametri

services
IServiceCollection

Oggetto IServiceCollection in cui aggiungere i servizi.

configure
Action<AuthorizationOptions>

Delegato di azione per configurare l'oggetto fornito AuthorizationOptions.

Restituisce

Oggetto IServiceCollection che consente il concatenamento di chiamate aggiuntive.

Si applica a