共用方式為


IdentityVerifier.CheckAccess(EndpointIdentity, AuthorizationContext) 方法

定義

實作方法以驗證身分識別。

public:
 abstract bool CheckAccess(System::ServiceModel::EndpointIdentity ^ identity, System::IdentityModel::Policy::AuthorizationContext ^ authContext);
public abstract bool CheckAccess (System.ServiceModel.EndpointIdentity identity, System.IdentityModel.Policy.AuthorizationContext authContext);
abstract member CheckAccess : System.ServiceModel.EndpointIdentity * System.IdentityModel.Policy.AuthorizationContext -> bool
Public MustOverride Function CheckAccess (identity As EndpointIdentity, authContext As AuthorizationContext) As Boolean

參數

identity
EndpointIdentity

要驗證的 EndpointIdentity

authContext
AuthorizationContext

要向其驗證 AuthorizationContextidentity

傳回

Boolean

如果身分識別通過驗證,則為 true,否則為 false。 預設為 false

適用於