TxnSecurity Namespace

The TxnSecurity namespace provides an interface used for transaction security.

The following is the interface and its supporting class in the TxnSecurity namespace.

  • Event Class

    Contains event information that the evaluate method uses to evaluate a transaction security policy.

  • EventCondition Interface

    Allows an implementing class to specify whether to take action when certain events occur based on a transaction security policy. This interface is only used for Apex policies created in Real-Time Event Monitoring.

  • AsyncCondition Interface

    Allows an implementing class to make asynchronous Apex calls. This interface is used only for transaction security Apex policies created in Real-Time Event Monitoring.

  • PolicyCondition Interface

    Apex interface that allows an implementing class to specify actions to take when certain events occur based on a transaction security policy.