AbstractConfidentialClientAcquireTokenParameterBuilder<T>.WithProofOfPossession Method
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.
Modifies the token acquisition request so that the acquired token is a Proof-of-Possession token (PoP), rather than a Bearer token. PoP tokens are similar to Bearer tokens, but are bound to the HTTP request and to a cryptographic key, which MSAL can manage on Windows. See https://aka.ms/msal-net-pop
public T WithProofOfPossession (Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration popAuthenticationConfiguration);
member this.WithProofOfPossession : Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration -> 'T
Public Function WithProofOfPossession (popAuthenticationConfiguration As PoPAuthenticationConfiguration) As T
Parameters
- popAuthenticationConfiguration
- PoPAuthenticationConfiguration
Configuration properties used to construct a Proof-of-Possession request.
Returns
T
The builder.
Remarks
- An Authentication header is automatically added to the request.
- The PoP token is bound to the HTTP request, more specifically to the HTTP method (GET, POST, etc.) and to the Uri (path and query, but not query parameters).
- MSAL creates, reads and stores a key in memory that will be cycled every 8 hours.
- This is an experimental API. The method signature may change in the future without involving a major version upgrade.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應