다음을 통해 공유


DefaultAuthorizationService 생성자

정의

오버로드

DefaultAuthorizationService(IAuthorizationPolicyProvider, IEnumerable<IAuthorizationHandler>, ILogger<DefaultAuthorizationService>)

DefaultAuthorizationService의 새 인스턴스를 만듭니다.

DefaultAuthorizationService(IAuthorizationPolicyProvider, IAuthorizationHandlerProvider, ILogger<DefaultAuthorizationService>, IAuthorizationHandlerContextFactory, IAuthorizationEvaluator, IOptions<AuthorizationOptions>)

DefaultAuthorizationService의 새 인스턴스를 만듭니다.

DefaultAuthorizationService(IAuthorizationPolicyProvider, IEnumerable<IAuthorizationHandler>, ILogger<DefaultAuthorizationService>, IAuthorizationHandlerContextFactory, IAuthorizationEvaluator, IOptions<AuthorizationOptions>)

DefaultAuthorizationService의 새 인스턴스를 만듭니다.

DefaultAuthorizationService(IAuthorizationPolicyProvider, IEnumerable<IAuthorizationHandler>, ILogger<DefaultAuthorizationService>)

DefaultAuthorizationService의 새 인스턴스를 만듭니다.

public:
 DefaultAuthorizationService(Microsoft::AspNetCore::Authorization::IAuthorizationPolicyProvider ^ policyProvider, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationHandler ^> ^ handlers, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Authorization::DefaultAuthorizationService ^> ^ logger);
public DefaultAuthorizationService (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler> handlers, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService> logger);
new Microsoft.AspNetCore.Authorization.DefaultAuthorizationService : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * seq<Microsoft.AspNetCore.Authorization.IAuthorizationHandler> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService> -> Microsoft.AspNetCore.Authorization.DefaultAuthorizationService
Public Sub New (policyProvider As IAuthorizationPolicyProvider, handlers As IEnumerable(Of IAuthorizationHandler), logger As ILogger(Of DefaultAuthorizationService))

매개 변수

policyProvider
IAuthorizationPolicyProvider

IAuthorizationPolicyProvider 정책을 제공하는 데 사용되는 입니다.

handlers
IEnumerable<IAuthorizationHandler>

를 수행하는 IAuthorizationRequirement데 사용되는 처리기입니다.

logger
ILogger<DefaultAuthorizationService>

메시지, 경고 및 오류를 기록하는 데 사용되는 로거입니다.

적용 대상

DefaultAuthorizationService(IAuthorizationPolicyProvider, IAuthorizationHandlerProvider, ILogger<DefaultAuthorizationService>, IAuthorizationHandlerContextFactory, IAuthorizationEvaluator, IOptions<AuthorizationOptions>)

Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs
Source:
DefaultAuthorizationService.cs

DefaultAuthorizationService의 새 인스턴스를 만듭니다.

public:
 DefaultAuthorizationService(Microsoft::AspNetCore::Authorization::IAuthorizationPolicyProvider ^ policyProvider, Microsoft::AspNetCore::Authorization::IAuthorizationHandlerProvider ^ handlers, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Authorization::DefaultAuthorizationService ^> ^ logger, Microsoft::AspNetCore::Authorization::IAuthorizationHandlerContextFactory ^ contextFactory, Microsoft::AspNetCore::Authorization::IAuthorizationEvaluator ^ evaluator, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authorization::AuthorizationOptions ^> ^ options);
public DefaultAuthorizationService (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider handlers, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService> logger, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory contextFactory, Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator evaluator, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions> options);
new Microsoft.AspNetCore.Authorization.DefaultAuthorizationService : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService> * Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory * Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.AspNetCore.Authorization.DefaultAuthorizationService
Public Sub New (policyProvider As IAuthorizationPolicyProvider, handlers As IAuthorizationHandlerProvider, logger As ILogger(Of DefaultAuthorizationService), contextFactory As IAuthorizationHandlerContextFactory, evaluator As IAuthorizationEvaluator, options As IOptions(Of AuthorizationOptions))

매개 변수

policyProvider
IAuthorizationPolicyProvider

IAuthorizationPolicyProvider 정책을 제공하는 데 사용되는 입니다.

handlers
IAuthorizationHandlerProvider

를 수행하는 IAuthorizationRequirement데 사용되는 처리기입니다.

logger
ILogger<DefaultAuthorizationService>

메시지, 경고 및 오류를 기록하는 데 사용되는 로거입니다.

contextFactory
IAuthorizationHandlerContextFactory

IAuthorizationHandlerContextFactory 권한 부여를 처리하는 컨텍스트를 만드는 데 사용되는 입니다.

evaluator
IAuthorizationEvaluator

IAuthorizationEvaluator 권한 부여가 성공했는지 확인하는 데 사용되는 입니다.

options
IOptions<AuthorizationOptions>

사용된 입니다 AuthorizationOptions .

적용 대상

DefaultAuthorizationService(IAuthorizationPolicyProvider, IEnumerable<IAuthorizationHandler>, ILogger<DefaultAuthorizationService>, IAuthorizationHandlerContextFactory, IAuthorizationEvaluator, IOptions<AuthorizationOptions>)

DefaultAuthorizationService의 새 인스턴스를 만듭니다.

public:
 DefaultAuthorizationService(Microsoft::AspNetCore::Authorization::IAuthorizationPolicyProvider ^ policyProvider, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationHandler ^> ^ handlers, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Authorization::DefaultAuthorizationService ^> ^ logger, Microsoft::AspNetCore::Authorization::IAuthorizationHandlerContextFactory ^ contextFactory, Microsoft::AspNetCore::Authorization::IAuthorizationEvaluator ^ evaluator, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authorization::AuthorizationOptions ^> ^ options);
public DefaultAuthorizationService (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler> handlers, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService> logger, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory contextFactory, Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator evaluator, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions> options);
new Microsoft.AspNetCore.Authorization.DefaultAuthorizationService : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * seq<Microsoft.AspNetCore.Authorization.IAuthorizationHandler> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService> * Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory * Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.AspNetCore.Authorization.DefaultAuthorizationService
Public Sub New (policyProvider As IAuthorizationPolicyProvider, handlers As IEnumerable(Of IAuthorizationHandler), logger As ILogger(Of DefaultAuthorizationService), contextFactory As IAuthorizationHandlerContextFactory, evaluator As IAuthorizationEvaluator, options As IOptions(Of AuthorizationOptions))

매개 변수

policyProvider
IAuthorizationPolicyProvider

IAuthorizationPolicyProvider 정책을 제공하는 데 사용되는 입니다.

handlers
IEnumerable<IAuthorizationHandler>

를 수행하는 IAuthorizationRequirement데 사용되는 처리기입니다.

logger
ILogger<DefaultAuthorizationService>

메시지, 경고 및 오류를 기록하는 데 사용되는 로거입니다.

contextFactory
IAuthorizationHandlerContextFactory

IAuthorizationHandlerContextFactory 권한 부여를 처리하는 컨텍스트를 만드는 데 사용되는 입니다.

evaluator
IAuthorizationEvaluator

IAuthorizationEvaluator 작성에 성공했는지 확인하는 데 사용되는 입니다.

options
IOptions<AuthorizationOptions>

사용된 입니다 AuthorizationOptions .

적용 대상