Udostępnij za pośrednictwem


AuthorizationServiceCollectionExtensions.AddAuthorizationCore Metoda

Definicja

Przeciążenia

AddAuthorizationCore(IServiceCollection)

Dodaje usługi autoryzacji do określonego IServiceCollectionelementu .

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Dodaje usługi autoryzacji do określonego IServiceCollectionelementu .

AddAuthorizationCore(IServiceCollection)

Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs

Dodaje usługi autoryzacji do określonego IServiceCollectionelementu .

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

Parametry

services
IServiceCollection

Element do dodawania IServiceCollection usług.

Zwraca

Tak IServiceCollection , aby można było połączyć dodatkowe wywołania.

Dotyczy

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs
Źródło:
AuthorizationServiceCollectionExtensions.cs

Dodaje usługi autoryzacji do określonego IServiceCollectionelementu .

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

Parametry

services
IServiceCollection

Element do dodawania IServiceCollection usług.

configure
Action<AuthorizationOptions>

Delegat akcji w celu skonfigurowania podanego AuthorizationOptionselementu .

Zwraca

Tak IServiceCollection , aby można było połączyć dodatkowe wywołania.

Dotyczy