Class BasicAuthenticationHeaderValue
- Namespace
- Visus.AddressValidation.Http
- Assembly
- Visus.AddressValidation.dll
HTTP Basic Authentication Authorization Header
public sealed class BasicAuthenticationHeaderValue : AuthenticationHeaderValue, ICloneable
- Inheritance
-
BasicAuthenticationHeaderValue
- Implements
- Inherited Members
Constructors
BasicAuthenticationHeaderValue(string, string?)
Initializes a new instance of BasicAuthenticationHeaderValue.
public BasicAuthenticationHeaderValue(string userName, string? password)
Parameters
Exceptions
- ArgumentException
Thrown when
userNameis null or whitespace.