次の方法で共有


MvcCoreMvcCoreBuilderExtensions.AddAuthorization メソッド

定義

オーバーロード

AddAuthorization(IMvcCoreBuilder)

の認証サービスと承認サービスを構成します builder

AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>)

の認証サービスと承認サービスを構成します builder

AddAuthorization(IMvcCoreBuilder)

ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs

の認証サービスと承認サービスを構成します 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

パラメーター

戻り値

IMvcCoreBuilder

適用対象

AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>)

ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs
ソース:
MvcCoreMvcCoreBuilderExtensions.cs

の認証サービスと承認サービスを構成します 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

パラメーター

setupAction
Action<AuthorizationOptions>

AuthorizationOptions を構成するための Action

戻り値

IMvcCoreBuilder

適用対象