]> git.mxchange.org Git - friendica.git/blob - doc/database/db_auth_codes.md
Merge pull request #10411 from annando/header-noscrape
[friendica.git] / doc / database / db_auth_codes.md
1 Table auth_codes
2 ===========
3
4 OAuth usage
5
6 Fields
7 ------
8
9 | Field        | Description | Type         | Null | Key | Default | Extra |
10 | ------------ | ----------- | ------------ | ---- | --- | ------- | ----- |
11 | id           |             | varchar(40)  | NO   | PRI | NULL    |       |
12 | client_id    |             | varchar(20)  | NO   |     |         |       |
13 | redirect_uri |             | varchar(200) | NO   |     |         |       |
14 | expires      |             | int          | NO   |     | 0       |       |
15 | scope        |             | varchar(250) | NO   |     |         |       |
16
17 Indexes
18 ------------
19
20 | Name      | Fields    |
21 | --------- | --------- |
22 | PRIMARY   | id        |
23 | client_id | client_id |
24
25 Foreign Keys
26 ------------
27
28 | Field | Target Table | Target Field |
29 |-------|--------------|--------------|
30 | client_id | [clients](help/database/db_clients) | client_id |
31
32 Return to [database documentation](help/database)