mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-18 02:50:33 +00:00
ac7f7b5a78
OATHAuth is an HMAC HOTP two factor authentication plugin. Change-Id: Icc75edda755f0a86402524a1a2aa8899351adcc4
21 lines
457 B
SQL
21 lines
457 B
SQL
CREATE TABLE /*_*/oathauth_users (
|
|
-- User ID
|
|
id int not null primary key,
|
|
|
|
-- Secret key
|
|
secret varchar(255) binary not null,
|
|
|
|
-- Secret key used for resets
|
|
secret_reset varchar(255) binary,
|
|
|
|
-- List of tokens
|
|
scratch_tokens varchar(512) binary not null,
|
|
|
|
-- List of tokens used for resets
|
|
scratch_tokens_reset varchar(512) binary not null,
|
|
|
|
-- Whether the user has validated their token
|
|
is_validated boolean not null
|
|
|
|
) /*$wgDBTableOptions*/;
|