]> git.mxchange.org Git - friendica.git/blob - doc/database/db_2fa_trusted_browser.md
HTML-escape notification contact names
[friendica.git] / doc / database / db_2fa_trusted_browser.md
1 Table 2fa_trusted_browser
2 ===========
3
4 Two-factor authentication trusted browsers
5
6 Fields
7 ------
8
9 | Field       | Description                                    | Type               | Null | Key | Default | Extra |
10 | ----------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
11 | cookie_hash | Trusted cookie hash                            | varchar(80)        | NO   | PRI | NULL    |       |
12 | uid         | User ID                                        | mediumint unsigned | NO   |     | NULL    |       |
13 | user_agent  | User agent string                              | text               | YES  |     | NULL    |       |
14 | trusted     | Whenever this browser should be trusted or not | boolean            | NO   |     | 1       |       |
15 | created     | Datetime the trusted browser was recorded      | datetime           | NO   |     | NULL    |       |
16 | last_used   | Datetime the trusted browser was last used     | datetime           | YES  |     | NULL    |       |
17
18 Indexes
19 ------------
20
21 | Name    | Fields      |
22 | ------- | ----------- |
23 | PRIMARY | cookie_hash |
24 | uid     | uid         |
25
26 Foreign Keys
27 ------------
28
29 | Field | Target Table | Target Field |
30 |-------|--------------|--------------|
31 | uid | [user](help/database/db_user) | uid |
32
33 Return to [database documentation](help/database)