account.initPasskeyRegistration
Initialize passkey registration for the current account, see here » for more info on the full flow.
func (c *Client) AccountInitPasskeyRegistration(ctx context.Context) (*AccountPasskeyRegistrationOptions, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountInitPasskeyRegistration(ctx)
if err != nil {
return err
}
_ = res // *AccountPasskeyRegistrationOptions
return nil
})
Parameters
This method takes no parameters.
Returns
*AccountPasskeyRegistrationOptions
Possible errors
| Code | Type | Description |
|---|---|---|
| 403 | ACCESS_DENIED |
References
- Official documentation
- Generated Go reference
- TL definition:
account.initPasskeyRegistration#429547e8