mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-30 19:14:31 +00:00
89455cdfb2
This takes out the actual key information from OATHUser and puts it into an OATHKey class, which OATHUser depends on. This allows easily swapping keys in/out from a user. Change-Id: Ife5f1bae4ad65b66c5e20017cc43c0576b4aba19
12 lines
204 B
SQL
12 lines
204 B
SQL
CREATE TABLE /*_*/oathauth_users (
|
|
-- User ID
|
|
id int not null primary key,
|
|
|
|
-- Secret key
|
|
secret varbinary(255) null,
|
|
|
|
-- Scratch tokens
|
|
scratch_tokens varbinary(511) null
|
|
|
|
) /*$wgDBTableOptions*/;
|