Authenticates a UserNameSecurityToken security token.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Override the class to authenticate security tokens based on a user name and password.
The Windows Communication Foundation (WCF) ships with the following classes that provide support for authenticating UserNameSecurityToken security tokens.
Allows an application to provide a custom authentication scheme for user names and passwords. The authentication scheme is provided using a class deriving from the UserNamePasswordValidator class.
Authenticates the user name and password as a Windows account.
Most custom authentication schemes can use the use the CustomUserNameSecurityTokenAuthenticator class and implement a class that derives from the UserNamePasswordValidator class. However, if additional flexibility is needed, you can derive a class from the class and override the ValidateUserNamePasswordCore method.