Marco
|
c2ab825354
|
Extract class 'Base64' into external library
|
2017-07-24 21:56:35 +02:00 |
|
Marco
|
449e1c69ee
|
Remove obsolete 'pre-check' and 'post-check' for 'Cache-Control'
|
2017-07-21 06:20:30 +02:00 |
|
Marco
|
0909291cf1
|
Support multi-factor authentication via 'onBeforeSuccess' callback
|
2017-07-02 23:12:36 +02:00 |
|
Marco
|
ee485f99ab
|
Ensure compatibility with SQLite which does not cast to native types
|
2017-06-12 20:29:58 +02:00 |
|
Marco
|
93477e4e7e
|
Add shorthands for 'getStatus' in 'Auth' class
|
2017-02-26 13:45:00 +01:00 |
|
Marco
|
d59ac83d13
|
Refactor array definition in 'authenticateUserInternal'
|
2017-02-26 13:13:37 +01:00 |
|
Marco
|
a05d277a2c
|
Read status from 'users' table and provide read access in session
|
2017-02-26 13:03:52 +01:00 |
|
Marco
|
9ec74b3b2d
|
Deprecate boolean format for parameter 'rememberDuration' with login
|
2017-02-25 18:06:07 +01:00 |
|
Marco
|
9c60acec0d
|
Improve code style
|
2017-02-25 17:58:29 +01:00 |
|
Marco
|
f06af42f87
|
Move method 'getUserDataByUsername' from 'Auth' to 'UserManager'
|
2017-02-25 16:18:51 +01:00 |
|
Marco
|
da4bb583bf
|
Add component for administrative tasks as class 'Administration'
|
2017-02-21 09:43:30 +01:00 |
|
Marco
|
d99979f270
|
Move method 'createUserInternal' from class 'Auth' to 'UserManager'
|
2017-02-21 09:28:42 +01:00 |
|
Marco
|
ff6d78942a
|
Move method 'createConfirmationRequest' from 'Auth' to 'UserManager'
|
2017-02-21 09:26:10 +01:00 |
|
Marco
|
ad2aa84e4a
|
Move method 'validatePassword' from class 'Auth' to 'UserManager'
|
2017-02-21 09:19:09 +01:00 |
|
Marco
|
f7d50d53ea
|
Move method 'validateEmailAddress' from class 'Auth' to 'UserManager'
|
2017-02-21 09:17:08 +01:00 |
|
Marco
|
e916c3d07e
|
Move method 'createRandomString' from class 'Auth' to 'UserManager'
|
2017-02-21 09:13:39 +01:00 |
|
Marco
|
43fa612d67
|
Move method 'throttle' and its constants from 'Auth' to 'UserManager'
|
2017-02-21 08:55:10 +01:00 |
|
Marco
|
0b0258f29a
|
Manually require file 'Exceptions.php' in parent class as well
|
2017-02-21 08:45:27 +01:00 |
|
Marco
|
9252bee030
|
Let parent class 'UserManager' manage database connection for 'Auth'
|
2017-02-21 08:40:30 +01:00 |
|
Marco
|
8ab08f41e1
|
Let autoloader fetch class 'Base64' instead of including it manually
|
2017-02-21 08:27:19 +01:00 |
|
Marco
|
83464c0be7
|
Improve description of 'Auth' class
|
2017-02-21 08:07:38 +01:00 |
|
Marco
|
b5c853388c
|
Make class 'Auth' final
|
2017-02-21 08:01:41 +01:00 |
|
Marco
|
5585623e08
|
Let class 'Auth' extend abstract class 'UserManager'
|
2017-02-21 08:00:26 +01:00 |
|
Marco
|
3cb2284870
|
Add public method 'loginWithUsername' to class 'Auth'
|
2017-02-20 21:36:45 +01:00 |
|
Marco
|
690485ba6d
|
Add support for sign in via username to 'authenticateUserInternal'
|
2017-02-20 21:32:45 +01:00 |
|
Marco
|
495a87d499
|
No need to check for uniqueness of username if none has been provided
|
2017-02-20 20:52:02 +01:00 |
|
Marco
|
784030139b
|
Treat empty string or whitespace-only string as non-existent username
|
2017-02-20 20:48:03 +01:00 |
|
Marco
|
fb6f3d31b8
|
Add private method 'getUserDataByUsername' to class 'Auth'
|
2017-02-20 19:57:23 +01:00 |
|
Marco
|
f2561a1932
|
Re-use 'getUserDataByEmailAddress' in 'authenticateUserInternal'
|
2017-02-16 08:56:44 +01:00 |
|
Marco
|
8cc54473e3
|
Improve language of parameter name
|
2017-02-16 08:30:24 +01:00 |
|
Marco
|
f26f2209cd
|
Store email address in session data as found in the database
|
2017-02-16 08:25:14 +01:00 |
|
Marco
|
188086f2e4
|
Do not validate password earlier than necessary
|
2017-02-16 08:18:48 +01:00 |
|
Marco
|
c6213a6081
|
Change order of parameters in 'authenticateUserInternal'
|
2017-02-16 08:15:48 +01:00 |
|
Marco
|
c55250c572
|
Refactor body of 'login' method into new 'authenticateUserInternal'
|
2017-02-15 18:29:15 +01:00 |
|
Marco
|
dac2850aba
|
Add method 'registerWithUniqueUsername'
|
2017-02-15 17:19:16 +01:00 |
|
Marco
|
4268e3fcd5
|
Add support for unique username constraint in 'createUserInternal'
|
2017-02-15 17:11:56 +01:00 |
|
Marco
|
bd02e08f83
|
Refactor body of 'register' method into new 'createUserInternal'
|
2017-02-15 16:41:38 +01:00 |
|
Marco
|
d4fe11b844
|
Improve language
|
2017-02-15 16:39:17 +01:00 |
|
Marco
|
f944067aff
|
Set 'ignore_user_abort' to 'true' in method 'register'
|
2017-01-30 18:48:23 +01:00 |
|
Marco
|
6bfa298836
|
Prevent usage of password reset if email has not been verified yet
|
2016-12-12 20:58:37 +01:00 |
|
Marco
|
6be456a27a
|
Change 'getUserIdByEmailAddress' to 'getUserDataByEmailAddress'
|
2016-12-12 20:38:49 +01:00 |
|
Marco
|
07732dcaa9
|
Change 'remember me' for login from binary choice to custom interval
|
2016-12-04 17:05:57 +01:00 |
|
Marco
|
f486ab6763
|
Forget remembered sessions when passwords are reset or changed
|
2016-12-04 16:54:34 +01:00 |
|
Marco
|
5e331924f6
|
Increase entropy in tokens for remember directives
|
2016-12-04 16:52:18 +01:00 |
|
Marco
|
5bac29065d
|
Improve documentation
|
2016-12-04 16:44:50 +01:00 |
|
Marco
|
989c7940e5
|
Rewrite all SQL operations to use 'delight-im/db' instead of raw PDO
|
2016-09-15 23:43:40 +02:00 |
|
Marco
|
5c87e877db
|
Import class 'Delight\Cookie\Session'
|
2016-09-14 16:42:52 +02:00 |
|
Marco
|
70842b4320
|
Import class 'Delight\Cookie\Cookie'
|
2016-09-14 16:42:00 +02:00 |
|
Marco
|
31ae135740
|
Add method 'canResetPassword'
|
2016-08-20 22:00:41 +02:00 |
|
Marco
|
c5e3bd191d
|
Postpone validation of new password in 'Auth#resetPassword'
|
2016-08-20 21:48:53 +02:00 |
|