Builder

Functions

Link copied to clipboard
public final SDKConfiguration build()
Link copied to clipboard
public final SDKConfiguration.Builder setInvalidatedByBiometricChange(Boolean invalidatedByBiometricChange)

Configuration operation to define if the SDK cryptographic keys will be invalidated when the device biometrics settings change.

Link copied to clipboard

Configuration method that sets the lock configuration type. If lockConfigurationType is not set, it will default to LockConfigurationType.NONE.

Link copied to clipboard
public final SDKConfiguration.Builder setSkipHardwareSecurity(Boolean skipHardwareSecurity)

Configuration operation to define if the SDK cryptographic keys should be stored in Strongbox if available. Defaults to true.

Link copied to clipboard

Configuration method that sets the duration in seconds that the SDK remains unlocked for, after successfully calling an unlock method. If duration is not set, then the SDK will assume a default unlock duration of 60 seconds.

Link copied to clipboard
public final SDKConfiguration.Builder setUnlockedDeviceRequired(Boolean unlockedDeviceRequired)

Configuration operation to define if the SDK cryptographic keys will enforce requiring the device to be unlocked with a secure lock-screen type (e.g. not "SWIPE") in order to be used. For more info please refer to the official documentation of this Keystore key configuration: https://developer.android.com/reference/android/security/keystore/KeyProtection.Builder#setUnlockedDeviceRequired(boolean) This flag is enforced only on supported devices running android.os.Build.VERSION_CODES.P or higher.