Table of Contents

AddResponse Method

Definition

AddResponse(string, string, string)

Associates the Response field with the computed values of ComputeHash1(string), ComputeHash2(string, string) and ComputeResponse(string, string).

public DigestAuthorizationHeaderBuilder AddResponse(string password, string method, string entityBody = null)

Parameters

password string

The password to include in the HA1 computed value.

method string

The HTTP method to include in the HA2 computed value.

entityBody string

The entity body to apply in the signature when qop is set to auth-int.

Returns

DigestAuthorizationHeaderBuilder

An DigestAuthorizationHeaderBuilder that can be used to further build the HTTP Digest Access Authentication header.