Share via


MicrosoftIdentityWebChallengeUserException Constructor

Definition

Handles the user challenge for Blazor or Razor pages.

public MicrosoftIdentityWebChallengeUserException (Microsoft.Identity.Client.MsalUiRequiredException msalUiRequiredException, string[] scopes, string? userflow = default);
new Microsoft.Identity.Web.MicrosoftIdentityWebChallengeUserException : Microsoft.Identity.Client.MsalUiRequiredException * string[] * string -> Microsoft.Identity.Web.MicrosoftIdentityWebChallengeUserException
Public Sub New (msalUiRequiredException As MsalUiRequiredException, scopes As String(), Optional userflow As String = Nothing)

Parameters

msalUiRequiredException
MsalUiRequiredException

Exception thrown by MSAL when a user challenge is encountered.

scopes
String[]

Scopes to request.

userflow
String

Userflow used in B2C.

Applies to