HttpSelfHostConfiguration.UserNamePasswordValidator Property
Gets or sets the UserNamePasswordValidator that is used to validate the username and password sent over HTTP or HTTPS.
Namespace: System.Web.Http.SelfHost
Assembly: System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
Syntax
'Declaration
Public Property UserNamePasswordValidator As UserNamePasswordValidator
Get
Set
'Usage
Dim instance As HttpSelfHostConfiguration
Dim value As UserNamePasswordValidator
value = instance.UserNamePasswordValidator
instance.UserNamePasswordValidator = value
public UserNamePasswordValidator UserNamePasswordValidator { get; set; }
public:
property UserNamePasswordValidator^ UserNamePasswordValidator {
UserNamePasswordValidator^ get ();
void set (UserNamePasswordValidator^ value);
}
member UserNamePasswordValidator : UserNamePasswordValidator with get, set
function get UserNamePasswordValidator () : UserNamePasswordValidator
function set UserNamePasswordValidator (value : UserNamePasswordValidator)
Property Value
Type: System.IdentityModel.Selectors.UserNamePasswordValidator
The UserNamePasswordValidator that is used to validate the username and password sent over HTTP or HTTPS.