MageSmith

🔌 Magento_Integration · engine innodb

oauth_token

OAuth Tokens

Neighbourhood (1-hop foreign-key graph — showing 3 of 3)

flowchart LR
  c["oauth_token"]:::center
  n0["admin_user"]
  click n0 "/schema/table/admin_user"
  n0 -- admin_id --> c
  n1["oauth_consumer"]
  click n1 "/schema/table/oauth_consumer"
  n1 -- consumer_id --> c
  n2["customer_entity"]
  click n2 "/schema/table/customer_entity"
  n2 -- customer_id --> c
  click c "/schema/table/oauth_token"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (13)

NameTypeNullDefaultComment
entity_id PKint unsignednoEntity ID
consumer_id int unsignedyesOauth Consumer ID
admin_id int unsignedyesAdmin user ID
customer_id int unsignedyesCustomer user ID
type varchar(16) noToken Type
token varchar(32) noToken
secret varchar(128) noToken Secret
verifier varchar(32) yesToken Verifier
callback_url text noToken Callback URL
revoked smallint unsignedno0Is Token revoked
authorized smallint unsignedno0Is Token authorized
user_type int yesUser type
created_at timestamp noCURRENT_TIMESTAMPToken creation timestamp

Keys & indexes

Primary key: entity_id

Unique

  • OAUTH_TOKEN_TOKEN (token)

Indexes

  • OAUTH_TOKEN_CONSUMER_ID (consumer_id) btree
  • OAUTH_TOKEN_CREATED_AT (created_at) btree

References (3)