Compartir a través de


IdentityVerifier.CheckAccess(EndpointIdentity, AuthorizationContext) Método

Definición

Implementa un método para comprobar una identidad.

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

EndpointIdentity que se va a comprobar.

authContext
AuthorizationContext

El AuthorizationContext con el que se va a realizar la comprobación de identity.

Devoluciones

Boolean

true si se comprueba la identidad; de lo contrario, false. De manera predeterminada, es false.

Se aplica a