Prompt Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Structure containing static members that you can use to specify how the interactive overrides of AcquireTokenAsync in IPublicClientApplication should prompt the user.
public struct Prompt
type Prompt = struct
Public Structure Prompt
- Inheritance
-
Prompt
Fields
Consent |
The user will be prompted to consent, even if consent was granted before. It is achieved
by sending |
Create |
AcquireToken will send |
ForceLogin |
The user will be prompted for credentials by the service. It is achieved
by sending |
NoPrompt |
Let the identity service decide on the best user experience, based on browser cookies and on the login hint, which can be specified using WithAccount() or WithLoginHint() |
SelectAccount |
AcquireToken will send |
Methods
Equals(Object) |
Equals method override to compare Prompt structs |
GetHashCode() |
Override to compute hash code |
Operators
Equality(Prompt, Prompt) |
Operator overload to check equality |
Inequality(Prompt, Prompt) |
Operator overload to check inequality |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應