pub fn create_or_replace_register_code( conn: &Connection, name: &str, ttl_sec: i64, ) -> Result<String>
Issue (or rotate) a one-shot register code for name. Returns the plaintext code; only the hash is persisted.
name