UserNamePasswordValidator.Validate(String, String) Method
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.
When overridden in a derived class, validates the specified username and password.
public:
abstract void Validate(System::String ^ userName, System::String ^ password);
public abstract void Validate (string userName, string password);
abstract member Validate : string * string -> unit
Public MustOverride Sub Validate (userName As String, password As String)
Parameters
- userName
- String
The username to validate.
- password
- String
The password to validate.
Remarks
Override the Validate method to specify how the username and password is validated. If the username and password do not pass validation, then throw a SecurityTokenValidationException.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.