Added Module Session Authentication with Cookies.

Updated Demo example with the Module Session (Authentication with Cookies)
Fixed little issue with SQL query in OpenID module.
This commit is contained in:
jvelilla
2015-12-13 18:19:25 -03:00
committed by Jocelyn Fiat
parent e50fb6959e
commit 2255fcc0f6
21 changed files with 1810 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE session_auth (
`uid` INTEGER PRIMARY KEY NOT NULL CHECK(`uid`>=0),
`access_token` TEXT NOT NULL,
`created` DATETIME NOT NULL,
CONSTRAINT `uid`
UNIQUE(`uid`),
CONSTRAINT `access_token`
UNIQUE(`access_token`)
);