Editare

Partajați prin


X509SecurityTokenAuthenticator Class

Definition

Authenticates an X509SecurityToken.

public ref class X509SecurityTokenAuthenticator : System::IdentityModel::Selectors::SecurityTokenAuthenticator
public class X509SecurityTokenAuthenticator : System.IdentityModel.Selectors.SecurityTokenAuthenticator
type X509SecurityTokenAuthenticator = class
    inherit SecurityTokenAuthenticator
Public Class X509SecurityTokenAuthenticator
Inherits SecurityTokenAuthenticator
Inheritance
X509SecurityTokenAuthenticator

Remarks

Use the X509SecurityTokenAuthenticator class to authenticate X509SecurityToken security tokens.

Constructors

X509SecurityTokenAuthenticator()

Initializes a new instance of the X509SecurityTokenAuthenticator class.

X509SecurityTokenAuthenticator(X509CertificateValidator, Boolean, Boolean)

Initializes a new instance of the X509SecurityTokenAuthenticator class using the specified certificate validation method and indicates whether the identity of the certificate is mapped to a Windows identity and the Windows groups the user belongs to.

X509SecurityTokenAuthenticator(X509CertificateValidator, Boolean)

Initializes a new instance of the X509SecurityTokenAuthenticator class using the specified certificate validation method and indicates whether the identity of the certificate is mapped to a Windows identity.

X509SecurityTokenAuthenticator(X509CertificateValidator)

Initializes a new instance of the X509SecurityTokenAuthenticator class using the specified certificate validator.

Properties

MapCertificateToWindowsAccount

Gets a value that indicates whether to map the X.509 certificate to a Windows account.

Methods

CanValidateToken(SecurityToken)

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

(Inherited from SecurityTokenAuthenticator)
CanValidateTokenCore(SecurityToken)

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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(SecurityToken)

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

(Inherited from SecurityTokenAuthenticator)
ValidateTokenCore(SecurityToken)

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

Applies to