You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
159
159
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 |
163
165
| ----------- | ----------- | -------------|
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 signedin 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.|
0 commit comments