Aracılığıyla paylaş


IdentityVerifier.CheckAccess(EndpointIdentity, AuthorizationContext) Yöntem

Tanım

Bir kimliği doğrulamak için bir yöntem uygular.

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

Parametreler

identity
EndpointIdentity

EndpointIdentityDoğrulanacak.

authContext
AuthorizationContext

' A AuthorizationContext karşı test etmek için identity .

Döndürülenler

Boolean

true kimlik doğrulanırsa; Aksi takdirde, false . Varsayılan değer: false.

Şunlara uygulanır