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.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.