WindowsUserNameSecurityTokenAuthenticator WindowsUserNameSecurityTokenAuthenticator WindowsUserNameSecurityTokenAuthenticator WindowsUserNameSecurityTokenAuthenticator Class

Definition

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

public ref class WindowsUserNameSecurityTokenAuthenticator : System::IdentityModel::Selectors::UserNameSecurityTokenAuthenticator
public class WindowsUserNameSecurityTokenAuthenticator : System.IdentityModel.Selectors.UserNameSecurityTokenAuthenticator
type WindowsUserNameSecurityTokenAuthenticator = class
    inherit UserNameSecurityTokenAuthenticator
Public Class WindowsUserNameSecurityTokenAuthenticator
Inherits UserNameSecurityTokenAuthenticator
Inheritance

Remarks

The ValidateUserNamePasswordCore method uses Windows authentication to authenticate a user name and password.

To provide a custom authentication scheme, see the CustomUserNameSecurityTokenAuthenticator class.

Constructors

WindowsUserNameSecurityTokenAuthenticator() WindowsUserNameSecurityTokenAuthenticator() WindowsUserNameSecurityTokenAuthenticator() WindowsUserNameSecurityTokenAuthenticator()

Initializes a new instance of the WindowsUserNameSecurityTokenAuthenticator class

WindowsUserNameSecurityTokenAuthenticator(Boolean) WindowsUserNameSecurityTokenAuthenticator(Boolean) WindowsUserNameSecurityTokenAuthenticator(Boolean) 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.

Methods

CanValidateToken(SecurityToken) CanValidateToken(SecurityToken) CanValidateToken(SecurityToken) CanValidateToken(SecurityToken)

Gets a value indicating whether the specified security token can be validated by this security token authenticator.

(Inherited from SecurityTokenAuthenticator)
CanValidateTokenCore(SecurityToken) CanValidateTokenCore(SecurityToken) CanValidateTokenCore(SecurityToken) CanValidateTokenCore(SecurityToken)

Gets a value indicating whether the specified security token can be validated by this security token authenticator.

(Inherited from UserNameSecurityTokenAuthenticator)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateToken(SecurityToken) ValidateToken(SecurityToken) ValidateToken(SecurityToken) ValidateToken(SecurityToken)

Authenticates the specified security token and returns the set of authorization policies for the security token.

(Inherited from SecurityTokenAuthenticator)
ValidateTokenCore(SecurityToken) ValidateTokenCore(SecurityToken) ValidateTokenCore(SecurityToken) ValidateTokenCore(SecurityToken)

Authenticates the specified security token and returns the set of authorization policies for the security token.

(Inherited from UserNameSecurityTokenAuthenticator)
ValidateUserNamePasswordCore(String, String) ValidateUserNamePasswordCore(String, String) ValidateUserNamePasswordCore(String, String) ValidateUserNamePasswordCore(String, String)

Authenticates the specified user name and password and returns the set of authorization policies for UserNameSecurityToken security tokens.

Applies to