1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-10 11:06:23 +02:00

Commit Graph

  • fd67044826 Improve links to 'php.net' by adding 'www' subdomain Marco 2021-03-12 19:13:43 +01:00
  • 6333d25cf2 Improve links to 'php.net' by using HTTPS and automatic language Sikander Iqbal 2021-03-12 19:12:05 +01:00
  • f5060b5a1d Adjust documentation to allow for direct usage of database component Marco 2021-03-04 21:23:10 +01:00
  • 729c76668f Move all exceptions and errors to separate files for autoloading v8.2.2 Marco 2020-09-30 20:40:54 +02:00
  • cc6430a83e Explain where usernames may be used to address unconfirmed recipients Marco 2020-05-11 13:14:14 +02:00
  • 6f933ac560 Explain how to impose restrictions on characters/length for usernames Marco 2020-05-11 13:10:33 +02:00
  • 157a7095b0 Use 'throttling' flag in 'Auth#forgotPassword' when limiting requests v8.2.1 Marco 2020-05-06 22:36:45 +02:00
  • 0f976a260b Fix doc comment for parameter 'ipAddress' on 'Auth' constructor Marco 2020-05-06 22:35:20 +02:00
  • dcd893a12c Document 'Auth#resetPasswordAndSignIn' in README v8.2.0 Marco 2020-04-20 21:36:08 +02:00
  • 0086419175 Add tests for 'Auth#resetPasswordAndSignIn' Marco 2020-04-20 21:35:04 +02:00
  • d49b35690c Implement 'Auth#resetPasswordAndSignIn' Marco 2020-04-20 21:34:00 +02:00
  • 171519fdf3 Use 'see' tag to link 'Auth#id' to 'Auth#getUserId' Marco 2020-04-20 21:32:43 +02:00
  • 14ce7b1e8f Add references between four methods for password reset via 'see' tags Marco 2020-04-20 21:31:28 +02:00
  • 49c70eff41 Document return value of 'Auth#resetPassword' in README Marco 2020-04-20 21:02:57 +02:00
  • 2f772b00c8 Adjust tests for 'Auth#resetPassword' now having a return value Marco 2020-04-20 20:48:19 +02:00
  • 5214da1f59 Make 'Auth#resetPassword' return both the user's ID and their email Marco 2020-04-20 20:47:27 +02:00
  • d8847fb197 Document in README how to retrieve a list of all registered users Marco 2020-03-19 18:52:24 +01:00
  • 1757ad3fd1 Fix variable name in README Emin Mühəmmədi 2019-07-28 17:44:37 +02:00
  • 54f6c5320a Refer to section 'Additional user information' from 'Registration' Marco 2019-05-23 19:29:45 +02:00
  • 4b3f2ab91c Document option of custom expiry of requests for 'Auth#forgotPassword' Marco 2019-02-25 19:52:32 +01:00
  • df990b5b75 Fix notes regarding session resync after adding or removing roles Marco 2019-02-21 18:34:09 +01:00
  • 7b2ac9b107 Fix missing entries in table of contents for 'Usage' Marco 2019-01-29 13:33:07 +01:00
  • ad90c7d04a Change responses with success messages from comments to 'echo' Marco 2018-10-05 00:27:01 +02:00
  • c0baa517fa Change responses with error messages from comments to 'die' statements Marco 2018-10-04 23:55:55 +02:00
  • 3120e3a6a5 Document return values of 'confirmEmail' and 'confirmEmailAndSignIn' Marco 2018-10-04 23:12:41 +02:00
  • 4cd6360fc7 Document optional database name, schema or other qualifier in README v8.1.0 Marco 2018-08-28 23:51:30 +02:00
  • 382832457d Make use of database name, schema or other qualifier in all statements Marco 2018-08-28 23:44:50 +02:00
  • f70923679f Implement methods 'makeTableName' and 'makeTableNameComponents' Marco 2018-08-28 23:25:28 +02:00
  • 521e73662d Allow for specification of database name, schema or other qualifier Marco 2018-08-28 22:03:40 +02:00
  • 2b3bf611e2 Update dependencies Marco 2018-08-28 21:47:16 +02:00
  • 352260c759 Remove obsolete error class 'DatabaseDriverError' Marco 2018-07-25 20:31:36 +02:00
  • cbf2b52f29 Fix wrong example of variable name for library's instance in README Marco 2018-07-23 01:08:04 +02:00
  • c685f22937 Add note about scope of variables with regard to closures to README Marco 2018-05-28 21:28:00 +02:00
  • 9d08c939a0 Fail safely in role checks when invalid input has been supplied v8.0.2 Marco 2018-05-25 23:19:07 +02:00
  • 7a8508d56e Document effect of 'sessionResyncInterval' for affected operations Marco 2018-04-26 18:12:30 +02:00
  • f6607f664d Enhance 'DatabaseError' instances to be more verbose v8.0.1 Marco 2018-04-20 18:01:00 +02:00
  • 49a4ef8280 Document required database privileges in README Marco 2018-04-03 14:48:10 +02:00
  • 50c284fff7 Document method 'logOutEverywhereElse' from class 'Auth' v8.0.0 Marco 2018-03-25 05:34:37 +02:00
  • 83c74689a3 Document method 'logOutEverywhere' from class 'Auth' Marco 2018-03-25 05:32:32 +02:00
  • 6d34606336 Update documentation on how to destroy the entire session Marco 2018-03-25 05:29:13 +02:00
  • be5b744470 Explain new return values of 'confirmEmail' (etc.) in migration guide Marco 2018-03-25 05:11:45 +02:00
  • 4f6692bd25 Also test return values of 'confirmEmail' and 'confirmEmailAndSignIn' Marco 2018-03-25 04:58:24 +02:00
  • 0f8116e654 Also return old email from 'confirmEmail' and 'confirmEmailAndSignIn' Marco 2018-03-25 04:55:58 +02:00
  • 25f7a8908d Force logout in any open sessions when a user resets their password Marco 2018-03-25 03:42:36 +02:00
  • a7c1ebcc9f Force logout in any other sessions when a user changes their password Marco 2018-03-25 03:40:57 +02:00
  • 71ce2b58c9 Force logout for users when administrators change their passwords Marco 2018-03-25 03:38:12 +02:00
  • 4c4c4c23f6 Explain removal of 'logOutAndDestroySession' in migration guide Marco 2018-03-25 01:40:49 +01:00
  • 00a8a49f17 Test method 'destroySession' instead of 'logOutAndDestroySession' Marco 2018-03-25 01:40:16 +01:00
  • 9f71eff176 Remove method 'logOutAndDestroySession' from class 'Auth' Marco 2018-03-25 01:28:35 +01:00
  • fdd95e8b89 Improve language Marco 2018-03-25 01:10:29 +01:00
  • 73b9232f63 Add tests for method 'logOutEverywhereElse' from class 'Auth' Marco 2018-03-25 01:08:36 +01:00
  • 20f484567a Implement method 'logOutEverywhereElse' in class 'Auth' Marco 2018-03-25 01:07:40 +01:00
  • 79c5a4f6d5 Add tests for method 'logOutEverywhere' from class 'Auth' Marco 2018-03-25 00:31:02 +01:00
  • 3ae1769256 Implement method 'logOutEverywhere' in class 'Auth' Marco 2018-03-25 00:28:21 +01:00
  • 58f1f34593 Implement method 'forceLogoutForUserById' in class 'UserManager' Marco 2018-03-24 23:39:03 +01:00
  • 4d7b66ee5a When performing normal logout only delete local remember directives Marco 2018-03-24 23:31:12 +01:00
  • 62270a2c48 Permit restriction to selector in 'deleteRememberDirectiveForUserById' Marco 2018-03-24 23:13:04 +01:00
  • 9848082bbb Implement method 'getRememberDirectiveExpiry' in class 'Auth' Marco 2018-03-24 23:09:18 +01:00
  • 29afbdfc93 Implement method 'getRememberDirectiveSelector' in class 'Auth' Marco 2018-03-24 23:02:01 +01:00
  • 62f4b39dcf Perform logout for user whenever 'force_logout' has been incremented Marco 2018-03-24 18:15:21 +01:00
  • 235008fdb8 Improve order of statements Marco 2018-03-24 18:12:33 +01:00
  • adc1d73539 Store and manage 'force_logout' value from 'users' table in session Marco 2018-03-24 18:04:06 +01:00
  • c3d44eab3e Describe required changes to database schemas in migration guide Marco 2018-03-24 17:54:49 +01:00
  • ade63d07df Add 'force_logout' column to 'users' table in database schema Marco 2018-03-24 17:49:35 +01:00
  • d9297709af Prepare migration guide for next major version Marco 2018-03-24 17:46:04 +01:00
  • 7be05ddde2 Improve documentation Marco 2018-03-24 17:44:42 +01:00
  • 095b8ccc70 Document 'changePasswordForUserById' from class 'Administration' v7.6.0 Marco 2018-03-21 03:24:06 +01:00
  • 550a6d0355 Add tests for 'changePasswordForUserById' from class 'Administration' Marco 2018-03-21 03:22:29 +01:00
  • c494e0fa13 Throw 'UnknownIdException' in 'updatePasswordInternal' when no matches Marco 2018-03-21 03:20:11 +01:00
  • d7d9899167 Use 'changePasswordForUserById' for 'changePasswordForUserByUsername' Marco 2018-03-21 02:55:31 +01:00
  • 05165a44a6 Implement method 'changePasswordForUserById' in class 'Administration' Marco 2018-03-21 02:54:50 +01:00
  • c3f2097750 Document 'changePasswordForUserByUsername' from 'Administration' Marco 2018-03-21 02:35:09 +01:00
  • 395a065fd4 Add tests for 'changePasswordForUserByUsername' from 'Administration' Marco 2018-03-21 02:28:55 +01:00
  • 627c592891 Let 'Administration' constructor be part of public API Marco 2018-03-20 16:13:56 +01:00
  • 2a6d1c4f7d Delete 'remember me' directives in 'changePasswordForUserByUsername' Marco 2018-03-20 16:11:56 +01:00
  • a63e5ec053 Move essence of 'deleteRememberDirectiveForUserById' to 'UserManager' Marco 2018-03-20 16:09:25 +01:00
  • 4115340927 Improve language Marco 2018-03-20 16:04:29 +01:00
  • 09dac6a5f5 Rename method 'deleteRememberDirective' in class 'Auth' Marco 2018-03-20 15:57:37 +01:00
  • 3a7a860c6d Validate password in 'changePasswordForUserByUsername' for consistency Marco 2018-03-20 15:54:19 +01:00
  • 131aea3ded Implement method 'changePasswordForUserByUsername' in 'Administration' maxsenft 2018-03-20 15:50:44 +01:00
  • e14f3d1925 Rename method 'updatePassword' to 'updatePasswordInternal' maxsenft 2018-03-20 15:45:25 +01:00
  • 1d54ff2f6b Move 'updatePassword' method from class 'Auth' to class 'UserManager' maxsenft 2018-03-20 15:41:57 +01:00
  • ec6afdad48 Accept 'PdoDsn' and 'PDO' as well in 'Administration' constructor maxsenft 2018-03-20 15:38:35 +01:00
  • 58e69fdd0e Do not pass 'null' to 'count' which triggers a warning since PHP 7.2 v7.5.2 Marco 2018-03-15 23:32:15 +01:00
  • e7e174b05d Only configure and start session if not already started v7.5.1 Marco 2018-03-12 22:29:56 +01:00
  • 8f35cc9965 Optimize spacing in PostgreSQL schema Marco 2018-03-12 18:44:32 +01:00
  • 142ccc362f Shorten line of text in README for better overview v7.5.0 Marco 2018-03-12 02:18:44 +01:00
  • bce31f9cfc Link to MariaDB schema separately from MySQL in README Marco 2018-03-12 02:15:35 +01:00
  • 3ddc7af1b4 Document support for PostgreSQL Marco 2018-03-12 02:11:54 +01:00
  • 62d9e44aa4 Add check constraints for unsigned integers in PostgreSQL schema Marco 2018-03-12 01:51:33 +01:00
  • 1121685cef Improve database schema for PostgreSQL Marco 2018-03-12 01:51:15 +01:00
  • 2f9bab4779 Add database schema for PostgreSQL Tiberiu Chibici 2018-03-12 00:32:53 +01:00
  • 89e99d727d Document resynchronization of session data with authoritative database v7.4.0 Marco 2018-03-10 20:54:24 +01:00
  • 21341d3c18 Regularly resynchronize session data with authoritative source in DB Marco 2018-03-10 20:53:13 +01:00
  • a1ae66374b Improve documentation on password reset by dividing it into steps v7.3.0 Marco 2018-03-10 17:47:03 +01:00
  • 477164e8ec Rename identifiers in comments to prevent highlighting in IDE Marco 2018-03-10 17:46:05 +01:00
  • 9478a43e9b Re-implement method 'canResetPassword' using 'canResetPasswordOrThrow' Marco 2018-03-10 04:13:14 +01:00
  • 1ba8e1ff21 Document method 'canResetPasswordOrThrow' from class 'Auth' Marco 2018-03-10 04:10:22 +01:00
  • 1657102f75 Add tests for method 'canResetPasswordOrThrow' from class 'Auth' Marco 2018-03-10 04:06:45 +01:00
  • d246248ab5 Implement method 'canResetPasswordOrThrow' in class 'Auth' Marco 2018-03-10 03:54:42 +01:00