OptionalenableWhether the in-memory credential cache is enabled.
OptionalencryptionWhether OATH credential storage is encrypted at rest.
OptionalloggerOptional JavaScript logger instance.
OptionalpolicyOptional custom policy evaluator handle.
Pattern A: obtain an OathPolicyEvaluatorHandle from
configureOathPolicyEvaluator and pass it here to override the
native SDK default policy evaluator. The resolved policyEvaluator.id is
forwarded to the native create call as policyEvaluatorId.
When omitted the native SDK creates a default evaluator that enforces both
biometricAvailable and deviceTampering policies on both platforms.
OptionalstorageOptional custom storage handle for the OATH credential store.
Pattern A: obtain an OathStorageHandle from configureOathStorage(...) in
@ping-identity/rn-storage and pass it here to override the native SDK
default storage backend. The resolved storage.id is forwarded to the native
create call as storageId.
When omitted the native SDK uses its default storage provider on both Android and iOS.
OptionaltimeoutNetwork timeout for OATH operations, in seconds.
When omitted, the native SDK default (15 s) applies. Both Android and iOS natively use seconds, so no conversion is needed:
OathConfiguration.timeout as a Duration via
kotlin.time.Duration.Companion.seconds.OathConfiguration.timeoutMs which, despite the
misleading Ms suffix, stores seconds as a TimeInterval.
Configuration options for createOathClient.
Example