This documentation is archived and is not being maintained.
WindowsUserNameSecurityTokenAuthenticator Class
Visual Studio 2010
Uses Windows authentication to authenticate the user name and password in a UserNameSecurityToken security token.
System::Object
System.IdentityModel.Selectors::SecurityTokenAuthenticator
System.IdentityModel.Selectors::UserNameSecurityTokenAuthenticator
System.IdentityModel.Selectors::WindowsUserNameSecurityTokenAuthenticator
System.IdentityModel.Selectors::SecurityTokenAuthenticator
System.IdentityModel.Selectors::UserNameSecurityTokenAuthenticator
System.IdentityModel.Selectors::WindowsUserNameSecurityTokenAuthenticator
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The WindowsUserNameSecurityTokenAuthenticator type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | WindowsUserNameSecurityTokenAuthenticator() | Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class |
![]() | WindowsUserNameSecurityTokenAuthenticator(Boolean) | Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class by specifying whether the claims that identify the Windows groups that a user belongs to are initially added to the ClaimSets property when the user is authenticated. |
| Name | Description | |
|---|---|---|
![]() | CanValidateToken | Gets a value indicating whether the specified security token can be validated by this security token authenticator. (Inherited from SecurityTokenAuthenticator.) |
![]() | CanValidateTokenCore | Gets a value indicating whether the specified security token can be validated by this security token authenticator. (Inherited from UserNameSecurityTokenAuthenticator.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ValidateToken | Authenticates the specified security token and returns the set of authorization policies for the security token. (Inherited from SecurityTokenAuthenticator.) |
![]() | ValidateTokenCore | Authenticates the specified security token and returns the set of authorization policies for the security token. (Inherited from UserNameSecurityTokenAuthenticator.) |
![]() | ValidateUserNamePasswordCore | Authenticates the specified user name and password and returns the set of authorization policies for UserNameSecurityToken security tokens. (Overrides UserNameSecurityTokenAuthenticator::ValidateUserNamePasswordCore(String, String).) |
The ValidateUserNamePasswordCore method uses Windows authentication to authenticate a user name and password.
To provide a custom authentication scheme, see the CustomUserNameSecurityTokenAuthenticator class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
