Επεξεργασία

Κοινή χρήση μέσω


IdentityVerifier Class

Definition

An abstract base class that can be implemented to verify an expected identity against an authorization context that represents a remote endpoint, or to create an identity from an endpoint address.

public ref class IdentityVerifier abstract
public abstract class IdentityVerifier
type IdentityVerifier = class
Public MustInherit Class IdentityVerifier
Inheritance
IdentityVerifier

Remarks

The WCF infrastructure calls the TryGetIdentity method first to retrieve the service's identity from the message. Next, the infrastructure calls the CheckAccess method with the returned EndpointIdentity and AuthorizationContext.

For more information about implementing the class, see How to: Create a Custom Client Identity Verifier.

Constructors

IdentityVerifier()

Creates an instance of this class.

Methods

CheckAccess(EndpointIdentity, AuthorizationContext)

Implements a method to verify an identity.

CreateDefault()

Creates a default instance of this class.

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)
TryGetIdentity(EndpointAddress, EndpointIdentity)

Tries to create an identity from an endpoint.

Applies to

See also