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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για