OPPSecurityPolicyMode

enum OPPSecurityPolicyMode : NSInteger {}

An enumeration for the possible modes of security policy.

  • Device authentication is required to complete payment. Payment method won’t be displayed in the list if neither Touch ID/FACE ID nor passcode are set.

    Declaration

    Objective-C

    OPPSecurityPolicyModeDeviceAuthRequired

    Swift

    case deviceAuthRequired = 0
  • Require device authentication only if Touch ID, Face ID or passcode are set.

    Declaration

    Objective-C

    OPPSecurityPolicyModeDeviceAuthRequiredIfAvailable

    Swift

    case deviceAuthRequiredIfAvailable = 1
  • Shopper don’t have to provide Touch ID, Face ID or passcode to complete payment.

    Declaration

    Objective-C

    OPPSecurityPolicyModeDeviceAuthNotRequired

    Swift

    case deviceAuthNotRequired = 2