Skip to content

Commit b8db41b

Browse files
authored
PR review edit
1 parent 7c8ad13 commit b8db41b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

articles/active-directory/develop/msal-net-differences-adal-net.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,17 @@ catch(AdalException exception)
157157

158158
For details, see [the recommended pattern to acquire a token in public client applications](https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/AcquireTokenSilentAsync-using-a-cached-token#recommended-pattern-to-acquire-a-token) with ADAL.NET.
159159

160-
### Prompt Behavior in MSAL equivalent to that in ADAL -
161-
Prompt Behavior -
162-
| ADAL | MSAL | Description |
160+
### Prompt behavior
161+
162+
Prompt behavior in MSAL.NET is equivalent to prompt behavior in ADAL.NET:
163+
164+
| ADAL.NET | MSAL.NET | Description |
163165
| ----------- | ----------- | -------------|
164-
| `PromptBehavior.Auto`| `NoPrompt`| Azure AD chooses the best behavior (signing users silently if they are signed-in with only one account, or displaying the account selector if they are signed in with several accounts) |
165-
| `PromptBehavior.Always`| `ForceLogin` | resets the login box and forces the user to re-enter their login and credentials |
166-
| `PromptBehavior.RefreshSession`| `Consent`| forces the user to re-consent to all permissions |
167-
| `PromptBehavior.Never`| `Never`| should not be used, instead use the [recommended pattern for public client apps](scenario-desktop-acquire-token.md?tabs=dotnet) |
168-
| `PromptBehavior.SelectAccount`| `SelectAccount`| displays the account selector and forces the user to select an account |
166+
| `PromptBehavior.Auto`| `NoPrompt`| Azure AD chooses the best behavior (signing in users silently if they are signed in with only one account, or displaying the account selector if they are signed in with several accounts). |
167+
| `PromptBehavior.Always`| `ForceLogin` | Resets the sign-in box and forces the user to reenter their credentials. |
168+
| `PromptBehavior.RefreshSession`| `Consent`| Forces the user to consent again to all permissions. |
169+
| `PromptBehavior.Never`| `Never`| Don't use; instead, use the [recommended pattern for public client apps](scenario-desktop-acquire-token.md?tabs=dotnet). |
170+
| `PromptBehavior.SelectAccount`| `SelectAccount`| Displays the account selector and forces the user to select an account. |
169171

170172
### Handling claim challenge exceptions
171173

0 commit comments

Comments
 (0)