AddFromWwwAuthenticateHeader Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Digest
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
AddFromWwwAuthenticateHeader(HttpResponseHeaders)
Associates any Digest fields found in the HTTP WWW-Authenticate header from the specified headers.
public DigestAuthorizationHeaderBuilder AddFromWwwAuthenticateHeader(HttpResponseHeaders headers)
Parameters
headersHttpResponseHeadersAn instance of HttpResponseHeaders.
Returns
- DigestAuthorizationHeaderBuilder
An DigestAuthorizationHeaderBuilder that can be used to further build the HTTP Digest Access Authentication header.
AddFromWwwAuthenticateHeader(IHeaderDictionary)
Associates any Digest fields found in the HTTP WWW-Authenticate header from the specified headers.
public DigestAuthorizationHeaderBuilder AddFromWwwAuthenticateHeader(IHeaderDictionary headers)
Parameters
headersIHeaderDictionaryAn implementation of IHeaderDictionary.
Returns
- DigestAuthorizationHeaderBuilder
An DigestAuthorizationHeaderBuilder that can be used to further build the HTTP Digest Access Authentication header.