Freigeben über


MvcCoreMvcCoreBuilderExtensions.AddAuthorization Methode

Definition

Überlädt

AddAuthorization(IMvcCoreBuilder)

Konfiguriert Authentifizierungs- und Autorisierungsdienste für builder.

AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>)

Konfiguriert Authentifizierungs- und Autorisierungsdienste für builder.

AddAuthorization(IMvcCoreBuilder)

Quelle:
MvcCoreMvcCoreBuilderExtensions.cs
Quelle:
MvcCoreMvcCoreBuilderExtensions.cs
Quelle:
MvcCoreMvcCoreBuilderExtensions.cs

Konfiguriert Authentifizierungs- und Autorisierungsdienste für builder.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddAuthorization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddAuthorization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddAuthorization (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parameter

Gibt zurück

Die IMvcCoreBuilder.

Gilt für:

AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>)

Quelle:
MvcCoreMvcCoreBuilderExtensions.cs
Quelle:
MvcCoreMvcCoreBuilderExtensions.cs
Quelle:
MvcCoreMvcCoreBuilderExtensions.cs

Konfiguriert Authentifizierungs- und Autorisierungsdienste für builder.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddAuthorization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> setupAction);
static member AddAuthorization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddAuthorization (builder As IMvcCoreBuilder, setupAction As Action(Of AuthorizationOptions)) As IMvcCoreBuilder

Parameter

setupAction
Action<AuthorizationOptions>

Eine Action zum Konfigurieren von AuthorizationOptions.

Gibt zurück

Die IMvcCoreBuilder.

Gilt für: