Compartilhar via


IdentityVerifier.CheckAccess(EndpointIdentity, AuthorizationContext) Método

Definição

Implementa um método para verificar uma identidade.

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

Parâmetros

identity
EndpointIdentity

O EndpointIdentity a verificar.

authContext
AuthorizationContext

O AuthorizationContext com relação ao qual testar identity.

Retornos

Boolean

true se a identidade for verificada; caso contrário, false. O padrão é false.

Aplica-se a