Create Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Digest
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
Create(string)
Creates an instance of DigestAuthorizationHeader from the specified parameters.
public static DigestAuthorizationHeader Create(string authorizationHeader)
Parameters
authorizationHeaderstringThe raw HTTP authorization header.
Returns
- DigestAuthorizationHeader
An instance of DigestAuthorizationHeader.
Exceptions
- ArgumentNullException
authorizationHeadercannot be null.- ArgumentException
authorizationHeadercannot be empty or consist only of white-space characters.