Manual:Bot passwords table

Stores man>Special:MyLanguage/Manual:Bot passwords|bot passwords.

On wiki farms using some kind of single sign-on, wikis can use a single shared table; thus, the local wiki's  table is not necessarily the one where the passwords are stored. See  and .

bp_user
man>Special:MyLanguage/Manual:Central ID|Central ID of the user.

On a default installation this is a foreign key to .

bp_app_id
App ID, used to differentiate multiple applications using the same account; applications using bot login need to pass  as username.

bp_password
Password hash (like ).

bp_token
Token for remembering / invalidating the session (like ).

bp_restrictions
JSON blob for .

bp_grants
Grants allowed to the account when authenticated with this bot-password.

Schema Summary
DESCRIBE bot_passwords; +-+---+--+-+-+---+ +-+---+--+-+-+---+ +-+---+--+-+-+---+
 * Field          | Type          | Null | Key | Default | Extra |
 * bp_user        | int(11)       | NO   | PRI | NULL    |       |
 * bp_app_id      | varbinary(32) | NO   | PRI | NULL    |       |
 * bp_password    | tinyblob      | NO   |     | NULL    |       |
 * bp_token       | binary(32)    | NO   |     | NULL    |       |
 * bp_restrictions | blob         | NO   |     | NULL    |       |
 * bp_grants      | blob          | NO   |     | NULL    |       |