CustomUserNameSecurityTokenAuthenticator(UserNamePasswordValidator) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CustomUserNameSecurityTokenAuthenticator class using the specified validator.
public:
CustomUserNameSecurityTokenAuthenticator(System::IdentityModel::Selectors::UserNamePasswordValidator ^ validator);
public CustomUserNameSecurityTokenAuthenticator (System.IdentityModel.Selectors.UserNamePasswordValidator validator);
new System.IdentityModel.Selectors.CustomUserNameSecurityTokenAuthenticator : System.IdentityModel.Selectors.UserNamePasswordValidator -> System.IdentityModel.Selectors.CustomUserNameSecurityTokenAuthenticator
Public Sub New (validator As UserNamePasswordValidator)
Parameters
- validator
- UserNamePasswordValidator
A UserNamePasswordValidator that authenticates the user name and password using a custom authentication scheme.
Exceptions
validator
is null
.
Remarks
The UserNamePasswordValidator specified in the validator
parameter is used by the ValidateUserNamePasswordCore method to authenticate the user.