Aracılığıyla paylaş


AbstractConfidentialClientAcquireTokenParameterBuilder<T>.WithSignedHttpRequestProofOfPossession Method

Definition

Modifies the request to acquire a Signed HTTP Request (SHR) Proof-of-Possession (PoP) token, rather than a Bearer. SHR PoP tokens are bound to the HTTP request and to a cryptographic key, which MSAL manages on Windows. SHR PoP tokens are different from mTLS PoP tokens, which are used for Mutual TLS (mTLS) authentication. See https://aka.ms/mtls-pop for details.

public T WithSignedHttpRequestProofOfPossession (Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration popAuthenticationConfiguration);
member this.WithSignedHttpRequestProofOfPossession : Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration -> 'T
Public Function WithSignedHttpRequestProofOfPossession (popAuthenticationConfiguration As PoPAuthenticationConfiguration) As T

Parameters

popAuthenticationConfiguration
PoPAuthenticationConfiguration

Configuration properties used to construct a Proof-of-Possession request.

Returns

T

The builder.

Remarks

  • The SHR PoP token is bound to the HTTP request, specifically to the HTTP method (for example, `GET` or `POST`) and to the URI path and query, excluding 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