IdentityVerifier Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈