I am trying to integrate passkey in my project, But I am not able to find how can I generate public and private key for specific account for specific user. I did found following resources but non of them contains public-private key generation code!
Connecting to a service with passkeys
Any of these resource does not contains code to generate public/private key generation code.