2015-12-28 01:50:25 +00:00
|
|
|
Table tokens
|
2021-06-13 20:33:50 +00:00
|
|
|
===========
|
2021-06-14 06:10:11 +00:00
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
OAuth usage
|
2015-12-28 01:50:25 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-06-14 06:10:11 +00:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| --------- | ----------- | ------------------ | ---- | --- | ------- | ----- |
|
|
|
|
| id | | varchar(40) | NO | PRI | NULL | |
|
|
|
|
| secret | | text | YES | | NULL | |
|
|
|
|
| client_id | | varchar(20) | NO | | | |
|
|
|
|
| expires | | int | NO | | 0 | |
|
|
|
|
| scope | | varchar(200) | NO | | | |
|
|
|
|
| uid | User id | mediumint unsigned | NO | | 0 | |
|
2015-12-28 01:50:25 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 12:15:10 +00:00
|
|
|
| Name | Fields |
|
|
|
|
| --------- | --------- |
|
|
|
|
| PRIMARY | id |
|
2021-06-14 08:53:37 +00:00
|
|
|
| client_id | client_id |
|
2021-06-14 12:15:10 +00:00
|
|
|
| uid | uid |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| client_id | [clients](help/database/db_clients) | client_id |
|
|
|
|
| uid | [user](help/database/db_user) | uid |
|
|
|
|
|
2015-12-28 01:50:25 +00:00
|
|
|
Return to [database documentation](help/database)
|