Optional ReadonlyviolatedThe name of the policy that caused a OATH_POLICY_VIOLATION error.
Typed as OathMfaPolicy['kind'] | (string & {}) to accept well-known values
('biometricAvailable', 'deviceTampering') while remaining open to future
policy kinds added by the native SDK.
undefined for all other error codes.
Error payload returned when OATH operations fail.
Remarks
Matches the shared native/JS error contract defined in
@ping-identity/rn-types.When
codeis'OATH_POLICY_VIOLATION', theviolatedPolicyfield identifies which policy blocked the operation, enabling callers to react programmatically without a second round-trip or message string parsing.