DeviceSecretValidator

fun interface DeviceSecretValidator

Validates device secrets by comparing the ds_hash claim in the ID token against the actual device secret hash.

Inheritors

Types

Link copied to clipboard

An error describing a validation failure.

Functions

Link copied to clipboard
abstract suspend fun validate(deviceSecret: String, idToken: Jwt)

Validates the deviceSecret against the ds_hash claim in the idToken.