Skip to main content

account.getPassword

Obtain configuration for two-factor authorization with password

func (c *Client) AccountGetPassword(ctx context.Context) (*AccountPassword, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.AccountGetPassword(ctx)
if err != nil {
return err
}
_ = res // *AccountPassword
return nil
})

Parameters

This method takes no parameters.

Returns

*AccountPassword

References