Freigeben über


SignedHttpRequestHandler.CreateHttpRequestPayload Method

Definition

Creates a JSON representation of a HttpRequest payload.

protected internal virtual string CreateHttpRequestPayload (Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor signedHttpRequestDescriptor, Microsoft.IdentityModel.Tokens.CallContext callContext);
abstract member CreateHttpRequestPayload : Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor * Microsoft.IdentityModel.Tokens.CallContext -> string
override this.CreateHttpRequestPayload : Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestDescriptor * Microsoft.IdentityModel.Tokens.CallContext -> string
Protected Friend Overridable Function CreateHttpRequestPayload (signedHttpRequestDescriptor As SignedHttpRequestDescriptor, callContext As CallContext) As String

Parameters

signedHttpRequestDescriptor
SignedHttpRequestDescriptor

A structure that wraps parameters needed for SignedHttpRequest creation.

callContext
CallContext

An opaque context used to store work and logs when working with authentication artifacts.

Returns

A JSON representation of an HttpRequest payload.

Remarks

Users can utilize AdditionalPayloadClaims to create additional claim(s) and add them to the signed http request.

Applies to