syncAccount

open suspend fun syncAccount(rpId: String, userHandle: String, credentialIds: List<String>, name: String, displayName: String): PasskeyResult<SignalOutcome>

Tells the provider everything it should know about one account: its complete list of passkeys (acceptedCredentials) and its current label (currentUserDetails). Call it whenever you load the account's passkeys, for example when the passkey settings screen opens.

Returns SignalOutcome.Applied if the provider took at least one of the two signals, SignalOutcome.Skipped if it could take neither, and the first PasskeyResult.Failure otherwise (the remaining signal isn't sent).