1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
account.passwordInputSettings | 2FA password settings | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: account.passwordInputSettings
2FA password settings
Attributes:
Name | Type | Required | Description |
---|---|---|---|
new_algo | PasswordKdfAlgo | Optional | New algo |
new_password_hash | bytes | Optional | hash('sha256', $new_salt.$new_password.$new_salt, true) |
hint | string | Optional | Hint |
string | Optional | ||
new_secure_settings | SecureSecretSettings | Optional | New secure settings |
Type: account_PasswordInputSettings
Example:
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings];
Or, if you're into Lua:
account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings}