getTelemetryId
Returns a DFP telemetry ID generated by the Stytch device fingerprinting SDK. This is a local operation — it does not make a network call to the Stytch API. Pass the returned ID to your backend, which can use it in server-side Stytch DFP lookup calls.
Kotlin:
StytchConsumer.dfp.getTelemetryId()Content copied to clipboard
iOS:
let telemetryId = try await StytchConsumer.dfp.getTelemetryId()Content copied to clipboard
React Native:
StytchConsumer.dfp.getTelemetryId()Content copied to clipboard
Return
The DFP telemetry ID string to pass to your backend.
Throws
DFPNotConfiguredError
if DFP was not configured during SDK initialization.
if the coroutine is cancelled.