次の方法で共有


AuthorizationServiceCollectionExtensions.AddAuthorization メソッド

定義

オーバーロード

AddAuthorization(IServiceCollection)
AddAuthorization(IServiceCollection, Action<AuthorizationOptions>)

AddAuthorization(IServiceCollection)

ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorization (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddAuthorization : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthorization (services As IServiceCollection) As IServiceCollection

パラメーター

戻り値

適用対象

AddAuthorization(IServiceCollection, Action<AuthorizationOptions>)

ソース:
AuthorizationServiceCollectionExtensions.cs
ソース:
AuthorizationServiceCollectionExtensions.cs
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorization (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> configure);
static member AddAuthorization : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthorization (services As IServiceCollection, configure As Action(Of AuthorizationOptions)) As IServiceCollection

パラメーター

戻り値

適用対象