mediawiki-extensions-OATHAuth/oathauth.sql
Ryan Lane ac7f7b5a78 Initial check-in of OATHAuth
OATHAuth is an HMAC HOTP two factor authentication plugin.

Change-Id: Icc75edda755f0a86402524a1a2aa8899351adcc4
2012-05-09 10:16:41 -07:00

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*/;