FingerprintIdentification

data class FingerprintIdentification(val visitorId: String, val sealedResult: String?)

What we hand the sonar-session API to identify this device: the sealed result when Fingerprint served one, and the plaintext visitor id when the environment still serves that.

Both travel together on purpose. Before the sealed environment is activated Fingerprint returns both; after activation the visitor id is withheld and only the sealed result carries identity. Sending the pair means neither side of that switch breaks us — and an environment with no sealing at all still identifies by visitor id, which is the behavior we have today.

Constructors

Link copied to clipboard
constructor(visitorId: String, sealedResult: String?)

Properties

Link copied to clipboard

Whether this carries anything the API can identify the device by.

Link copied to clipboard

Base64 sealed /v4/events payload. Absent when sealing is off or unavailable.

Link copied to clipboard

Empty once the environment withholds it — the sealed result identifies instead.