WindowsUserNameSecurityTokenAuthenticator Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Uses Windows authentication to authenticate the user name and password in a UserNameSecurityToken security token.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Selectors.SecurityTokenAuthenticator
    System.IdentityModel.Selectors.UserNameSecurityTokenAuthenticator
      System.IdentityModel.Selectors.WindowsUserNameSecurityTokenAuthenticator

public class WindowsUserNameSecurityTokenAuthenticator : UserNameSecurityTokenAuthenticator

NameDescription
System_CAPS_pubmethodWindowsUserNameSecurityTokenAuthenticator()

Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class

System_CAPS_pubmethodWindowsUserNameSecurityTokenAuthenticator(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.

NameDescription
System_CAPS_pubmethodCanValidateToken(SecurityToken)

Gets a value indicating whether the specified security token can be validated by this security token authenticator. (Inherited from SecurityTokenAuthenticator.)

System_CAPS_protmethodCanValidateTokenCore(SecurityToken)

Gets a value indicating whether the specified security token can be validated by this security token authenticator.(Inherited from UserNameSecurityTokenAuthenticator.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidateToken(SecurityToken)

Authenticates the specified security token and returns the set of authorization policies for the security token. (Inherited from SecurityTokenAuthenticator.)

System_CAPS_protmethodValidateTokenCore(SecurityToken)

Authenticates the specified security token and returns the set of authorization policies for the security token.(Inherited from UserNameSecurityTokenAuthenticator.)

System_CAPS_protmethodValidateUserNamePasswordCore(String, String)

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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: