UserNameSecurityTokenAuthenticator (Clase)
Ensamblado: System.IdentityModel (en system.identitymodel.dll)
Override the UserNameSecurityTokenAuthenticator 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.
| Type | Description |
|---|---|
| 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 UserNameSecurityTokenAuthenticator class and override the ValidateUserNamePasswordCore method.
System.IdentityModel.Selectors.SecurityTokenAuthenticator
System.IdentityModel.Selectors.UserNameSecurityTokenAuthenticator
System.IdentityModel.Selectors.CustomUserNameSecurityTokenAuthenticator
System.IdentityModel.Selectors.WindowsUserNameSecurityTokenAuthenticator
Windows 98, Windows 2000 Service Pack 4, Windows CE, Windows Millennium, Windows Mobile para Pocket PC, Windows Mobile para Smartphone, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP Starter
Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.