다음을 통해 공유


AuthorizationServiceCollectionExtensions.AddAuthorizationCore 메서드

정의

오버로드

AddAuthorizationCore(IServiceCollection)

지정된 IServiceCollection에 권한 부여 서비스를 추가합니다.

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

지정된 IServiceCollection에 권한 부여 서비스를 추가합니다.

AddAuthorizationCore(IServiceCollection)

Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs

지정된 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

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.

반환

추가 호출을 연결할 수 있도록 하는 IServiceCollection입니다.

적용 대상

AddAuthorizationCore(IServiceCollection, Action<AuthorizationOptions>)

Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs
Source:
AuthorizationServiceCollectionExtensions.cs

지정된 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

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.

configure
Action<AuthorizationOptions>

제공된 을 구성하는 작업 대리자 AuthorizationOptions입니다.

반환

추가 호출을 연결할 수 있도록 하는 IServiceCollection입니다.

적용 대상