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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru