Partager via


PoPAuthenticationConfiguration Constructors

Definition

Overloads

PoPAuthenticationConfiguration()

Creates a configuration using the default key management - an RSA key will be created in memory and rotated every 8h. Uses HttpMethod, HttpHost etc. to control which elements of the request should be included in the POP token.

PoPAuthenticationConfiguration(HttpRequestMessage)

Creates a configuration using the default key management, and which binds all the details of the HttpRequestMessage.

PoPAuthenticationConfiguration(Uri)

Creates a configuration using the default key management, and which binds only the Uri part of the HTTP request.

PoPAuthenticationConfiguration()

Creates a configuration using the default key management - an RSA key will be created in memory and rotated every 8h. Uses HttpMethod, HttpHost etc. to control which elements of the request should be included in the POP token.

public PoPAuthenticationConfiguration ();
Public Sub New ()

Remarks

See https://datatracker.ietf.org/doc/html/draft-ietf-oauth-signed-http-request-03#page-3 for details about signed HTTP requests.

Applies to

PoPAuthenticationConfiguration(HttpRequestMessage)

Creates a configuration using the default key management, and which binds all the details of the HttpRequestMessage.

public PoPAuthenticationConfiguration (System.Net.Http.HttpRequestMessage httpRequestMessage);
new Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration : System.Net.Http.HttpRequestMessage -> Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration
Public Sub New (httpRequestMessage As HttpRequestMessage)

Parameters

httpRequestMessage
HttpRequestMessage

Remarks

Currently only the HttpMethod (m), UrlHost (u) and UrlPath (p) are used to create the signed HTTP request - see https://datatracker.ietf.org/doc/html/draft-ietf-oauth-signed-http-request-03#page-3

Applies to

PoPAuthenticationConfiguration(Uri)

Creates a configuration using the default key management, and which binds only the Uri part of the HTTP request.

public PoPAuthenticationConfiguration (Uri requestUri);
new Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration : Uri -> Microsoft.Identity.Client.AppConfig.PoPAuthenticationConfiguration
Public Sub New (requestUri As Uri)

Parameters

requestUri
Uri

Remarks

The UrlHost (u) and UrlPath (p) are used to create the signed HTTP request - see https://datatracker.ietf.org/doc/html/draft-ietf-oauth-signed-http-request-03#page-3

Applies to