MicrosoftIdentityConsentAndConditionalAccessHandler 클래스

정의

증분 동의 및 조건부 액세스를 처리하는 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 페이지에서 사용자 챌린지에서 예외를 처리합니다.

적용 대상