retainOnly

suspend fun retainOnly(rpId: String, userHandle: String, credentialIds: List<String>)

Deletes every passkey of userHandle on rpId whose id is not in credentialIds. Ids are compared by their bytes. Throws PasskeyException with PasskeyError.InvalidOptions for an undecodable id.