AddResponse Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Digest
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
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
passwordstringThe password to include in the HA1 computed value.
methodstringThe HTTP method to include in the HA2 computed value.
entityBodystringThe 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.