Share via


SignedHttpRequestDescriptor Constructors

Definition

Overloads

SignedHttpRequestDescriptor(String, HttpRequestData, SigningCredentials)

Initializes a new instance of SignedHttpRequestDescriptor.

SignedHttpRequestDescriptor(String, HttpRequestData, SigningCredentials, SignedHttpRequestCreationParameters)

Initializes a new instance of SignedHttpRequestDescriptor.

SignedHttpRequestDescriptor(String, HttpRequestData, SigningCredentials)

Initializes a new instance of SignedHttpRequestDescriptor.

public SignedHttpRequestDescriptor (string accessToken, Microsoft.IdentityModel.Protocols.HttpRequestData httpRequestData, Microsoft.IdentityModel.Tokens.SigningCredentials signingCredentials);
new Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor : string * Microsoft.IdentityModel.Protocols.HttpRequestData * Microsoft.IdentityModel.Tokens.SigningCredentials -> Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor
Public Sub New (accessToken As String, httpRequestData As HttpRequestData, signingCredentials As SigningCredentials)

Parameters

accessToken
String

An access token that contains the 'cnf' claim.

httpRequestData
HttpRequestData

A structure that represents an outgoing http request.

signingCredentials
SigningCredentials

A security key and algorithm that will be used to sign the (Signed)HttpRequest.

Remarks

accessToken has to contain the 'cnf' claim so that PoP key can be resolved on the validation side. https://datatracker.ietf.org/doc/html/rfc7800#section-3.1 Default SignedHttpRequestCreationParameters and CallContext will be created.

Applies to

SignedHttpRequestDescriptor(String, HttpRequestData, SigningCredentials, SignedHttpRequestCreationParameters)

Initializes a new instance of SignedHttpRequestDescriptor.

public SignedHttpRequestDescriptor (string accessToken, Microsoft.IdentityModel.Protocols.HttpRequestData httpRequestData, Microsoft.IdentityModel.Tokens.SigningCredentials signingCredentials, Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestCreationParameters signedHttpRequestCreationParameters);
new Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor : string * Microsoft.IdentityModel.Protocols.HttpRequestData * Microsoft.IdentityModel.Tokens.SigningCredentials * Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestCreationParameters -> Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor
Public Sub New (accessToken As String, httpRequestData As HttpRequestData, signingCredentials As SigningCredentials, signedHttpRequestCreationParameters As SignedHttpRequestCreationParameters)

Parameters

accessToken
String

An access token that contains the 'cnf' claim.

httpRequestData
HttpRequestData

A structure that represents an outgoing http request.

signingCredentials
SigningCredentials

A security key and algorithm that will be used to sign the (Signed)HttpRequest.

signedHttpRequestCreationParameters
SignedHttpRequestCreationParameters

A set of parameters required for creating a SignedHttpRequest.

Remarks

accessToken has to contain the 'cnf' claim so that PoP key can be resolved on the validation side. https://datatracker.ietf.org/doc/html/rfc7800#section-3.1

Applies to