linkProfile
Connects a new profile (authentication method) to the current user. The connected profile can be any valid in-app wallet including email, phone, passkey, etc. The inputs mirror those used when authenticating normally.
When a profile is linked to the account, that profile can then be used to sign into the account.
This method is only available for in-app wallets.
Example
Parameters
Returns
A promise that resolves to the currently linked profiles when the connection is successful.