Прочетете на английски Редактиране

Споделяне чрез


UserNamePasswordValidator.None Property

Definition

Gets a validator that performs no validation on the username and password. As a result, the username and password are always deemed valid.

C#
public static System.IdentityModel.Selectors.UserNamePasswordValidator None { get; }

Property Value

An UserNamePasswordValidator that performs no validation on the username and password.

Remarks

The value of this static property can be supplied as a parameter to one of the constructors for the UserNameSecurityTokenAuthenticator class.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1