SAPcpmsUserLockAndWipeConfigurationStep

public class SAPcpmsUserLockAndWipeConfigurationStep : OnboardingStep

This step uses SAPcpmsLockandWipeObserver, which is registered with the SAPURLSession. The observer monitors the HTTP responses from the server. It also integrates with the LockAndWipeManager to register observers and handle events related to user authentication and session management. Specifically, it looks for certain headers related to lock and wipe policies, such as x-message-code - TRAFFIC_REG_LOCKED and x-message-code - TRAFFIC_REG_WIPED.

The onboardOrRestore function is central to this setup. It creates and registers the observer, ensuring that any lock or wipe policy enforcement based on the server’s response headers is handled immediately.

  • Undocumented

    Declaration

    Swift

    public init()