validateLocalCredentialIfPossible

suspend fun validateLocalCredentialIfPossible(id: String? = null, identifierHint: String? = null): TrustedDeviceValidationResult

Validates the local trusted-device credential against the server when possible.

Stale local credentials are cleaned up when the server reports them missing.

Parameters

id

The trusted-device credential ID to validate. When omitted, the available local credential is used.

identifierHint

A local-only user identifier hint used to choose a matching credential.