MicrosoftIdentityConsentAndConditionalAccessHandler 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
증분 동의 및 조건부 액세스를 처리하는 Blazor 특정 API에 대한 처리기입니다.
public class MicrosoftIdentityConsentAndConditionalAccessHandler
type MicrosoftIdentityConsentAndConditionalAccessHandler = class
Public Class MicrosoftIdentityConsentAndConditionalAccessHandler
- 상속
-
MicrosoftIdentityConsentAndConditionalAccessHandler
생성자
| Name | Description |
|---|---|
| MicrosoftIdentityConsentAndConditionalAccessHandler(IServiceProvider) |
MicrosoftIdentityConsentAndConditionalAccessHandler 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| BaseUri |
리디렉션을 구성하는 데 사용할 기본 URI입니다. |
| IsBlazorServer |
서버가 Blazor인지 확인하는 부울입니다. |
| User |
현재 사용자입니다. |
메서드
| Name | Description |
|---|---|
| ChallengeUser(String[], String, String) |
사용자가 특정 범위에 동의하고 조건부 액세스를 수행하여 특정 클레임을 얻도록 합니다. Razor/Blazor 페이지 또는 컨트롤러에서 토큰을 획득하기 전에 범위 및/또는 클레임을 사전에 확인합니다. 다른 메커니즘 HandleException(Exception) 은 실패한 토큰 획득 시도 후 Azure AD에서 요청한 클레임 및 범위를 보장합니다. 자세한 내용은 https://aka.ms/ms-id-web/ca_incremental-consent를 참조하세요. |
| HandleException(Exception) |
Blazor/Razor 페이지에서 사용자 챌린지에서 예외를 처리합니다. |