Table of Contents

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

userName string

The name of the user.

password string

The password for the given user.

Exceptions

ArgumentException

Thrown when userName is null or whitespace.

See Also